]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/issue-87558.rs
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / traits / issue-87558.rs
1 struct ErrorKind;
2 struct Error(ErrorKind);
3 impl Fn(&isize) for Error {
4     //~^ ERROR manual implementations of `Fn` are experimental
5     //~| ERROR associated type bindings are not allowed here
6     fn from() {} //~ ERROR method `from` is not a member of trait `Fn`
7 }
8
9 fn main() {}