diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-39687.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-39687.rs b/src/test/ui/issues/issue-39687.rs new file mode 100644 index 000000000..cbb721fbb --- /dev/null +++ b/src/test/ui/issues/issue-39687.rs @@ -0,0 +1,6 @@ +#![feature(fn_traits)] + +fn main() { + <fn() as Fn()>::call; + //~^ ERROR associated type bindings are not allowed here [E0229] +} |