rust/tests/ui/issues/issue-39687.rs
2023-01-11 09:32:08 +00:00

7 lines
133 B
Rust

#![feature(fn_traits)]
fn main() {
<fn() as Fn()>::call;
//~^ ERROR associated type bindings are not allowed here [E0229]
}