]>
git.proxmox.com Git - rustc.git/blob - src/test/codegen-units/item-collection/auxiliary/cgu_extern_closures.rs
4 pub fn inlined_fn(x
: i32, y
: i32) -> i32 {
6 let closure
= |a
, b
| { a + b }
;
11 pub fn inlined_fn_generic
<T
>(x
: i32, y
: i32, z
: T
) -> (i32, T
) {
13 let closure
= |a
, b
| { a + b }
;
18 pub fn non_inlined_fn(x
: i32, y
: i32) -> i32 {
20 let closure
= |a
, b
| { a + b }
;