summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/nll/named_lifetimes_basic.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /src/test/mir-opt/nll/named_lifetimes_basic.rs
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/mir-opt/nll/named_lifetimes_basic.rs')
-rw-r--r--src/test/mir-opt/nll/named_lifetimes_basic.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/mir-opt/nll/named_lifetimes_basic.rs b/src/test/mir-opt/nll/named_lifetimes_basic.rs
deleted file mode 100644
index 843716033..000000000
--- a/src/test/mir-opt/nll/named_lifetimes_basic.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Basic test for named lifetime translation. Check that we
-// instantiate the types that appear in function arguments with
-// suitable variables and that we setup the outlives relationship
-// between R0 and R1 properly.
-
-// compile-flags: -Zverbose
-// ^^^^^^^^^ force compiler to dump more region information
-
-#![allow(warnings)]
-
-// EMIT_MIR named_lifetimes_basic.use_x.nll.0.mir
-fn use_x<'a, 'b: 'a, 'c>(w: &'a mut i32, x: &'b u32, y: &'a u32, z: &'c u32) -> bool { true }
-
-fn main() {
-}