]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/issue-87558.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / 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() {}