]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/normalize-fn-sig.rs
9 fn foo
<T
>(_
: <T
as Foo
>::Bar
, _
: &'
static <T
as Foo
>::Bar
) {}
11 fn needs_i32_ref_fn(_
: fn(&'
static i32, i32)) {}
14 needs_i32_ref_fn(foo
::<()>);
15 //~^ ERROR mismatched types