]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/call-on-unimplemented-fn-ptr.rs
7 fn needs_bar
<T
: Bar
>(_
: T
) {}
9 fn blah(f
: fn() -> Foo
) {
11 //~^ ERROR the trait bound `fn() -> Foo: Bar` is not satisfied
12 //~| HELP use parentheses to call this function pointer