Skip to content

Commit 2d0a34b

Browse files
committed
FileCheck caller_with_trivial_bound
1 parent 62fe807 commit 2d0a34b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/inline/caller_with_trivial_bound.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// needs-unwind
43

@@ -18,6 +17,8 @@ pub fn foo<T>()
1817
where
1918
IntFactory: Factory<T>,
2019
{
20+
// CHECK-LABEL: fn foo(
21+
// CHECK-NOT: (inlined bar::<T>)
2122
let mut x: <IntFactory as Factory<T>>::Item = bar::<T>();
2223
}
2324

0 commit comments

Comments
 (0)