mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 05:55:50 +00:00
FileCheck caller_with_trivial_bound
This commit is contained in:
parent
62fe807e3c
commit
2d0a34bb78
@ -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…
x
Reference in New Issue
Block a user