about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Mehri <ryan.mehri1@gmail.com>2023-10-20 11:11:06 -0700
committerRyan Mehri <ryan.mehri1@gmail.com>2023-10-25 15:22:01 -0700
commit2d0a34bb78f5546a0a7d7b447ffe4fa1c1ea13d9 (patch)
tree3c5237d5de28c11046ba3001c633450b69e41ade
parent62fe807e3c6cec9ae31a0a3e7e1f5bc694c2e30c (diff)
downloadrust-2d0a34bb78f5546a0a7d7b447ffe4fa1c1ea13d9.tar.gz
rust-2d0a34bb78f5546a0a7d7b447ffe4fa1c1ea13d9.zip
FileCheck caller_with_trivial_bound
-rw-r--r--tests/mir-opt/inline/caller_with_trivial_bound.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/inline/caller_with_trivial_bound.rs b/tests/mir-opt/inline/caller_with_trivial_bound.rs
index 3829cbdd302..722c7f6724e 100644
--- a/tests/mir-opt/inline/caller_with_trivial_bound.rs
+++ b/tests/mir-opt/inline/caller_with_trivial_bound.rs
@@ -1,4 +1,3 @@
-// skip-filecheck
 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
 // needs-unwind
 
@@ -18,6 +17,8 @@ pub fn foo<T>()
 where
     IntFactory: Factory<T>,
 {
+    // CHECK-LABEL: fn foo(
+    // CHECK-NOT: (inlined bar::<T>)
     let mut x: <IntFactory as Factory<T>>::Item = bar::<T>();
 }