]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-39687.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-39687.rs
1 #![feature(fn_traits)]
2
3 fn main() {
4     <fn() as Fn()>::call;
5     //~^ ERROR associated type bindings are not allowed here [E0229]
6 }