FileCheck caller_with_trivial_bound
This commit is contained in:
parent
62fe807e3c
commit
2d0a34bb78
1 changed files with 2 additions and 1 deletions
|
@ -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>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue