FileCheck caller_with_trivial_bound

This commit is contained in:
Ryan Mehri 2023-10-20 11:11:06 -07:00
parent 62fe807e3c
commit 2d0a34bb78

View file

@ -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>();
}