rust/tests/ui/issues/issue-39687.rs

7 lines
133 B
Rust
Raw Normal View History

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