1 // compile-flags: -Z span_free_formats -Zunsound-mir-opts
3 // Tests that MIR inliner can handle closure arguments,
7 println!("{}", foo(0, &14));
10 // EMIT_MIR inline_closure_borrows_arg.foo.Inline.after.mir
11 fn foo<T: Copy>(_t: T, q: &i32) -> i32 {
12 let x = |r: &i32, _s: &i32| {