]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
12 fn foo() -> impl T
<O
=()> { S }
14 fn bar(f
: impl T
<O
=()>) {}
17 bar(foo
); //~ERROR E0277
19 bar(closure
); //~ERROR E0277