]>
git.proxmox.com Git - rustc.git/blob - src/test/codegen-units/item-collection/impl-in-non-instantiated-generic.rs
1 // compile-flags:-Zprint-mono-items=eager
10 // This function is never instantiated but the contained impl must still be
12 pub fn generic_function
<T
>(x
: T
) -> (T
, i32) {
13 impl SomeTrait
for i64 {
14 //~ MONO_ITEM fn generic_function::<impl SomeTrait for i64>::foo
21 //~ MONO_ITEM fn start
23 fn start(_
: isize, _
: *const *const u8) -> isize {