]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-3907.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / resolve / issue-3907.stderr
CommitLineData
32a655c1 1error[E0404]: expected trait, found type alias `Foo`
0731742a 2 --> $DIR/issue-3907.rs:10:6
32a655c1 3 |
0531ce1d 4LL | impl Foo for S { //~ ERROR expected trait, found type alias `Foo`
a1dfa0c6
XL
5 | ^^^ type aliases cannot be used as traits
6 |
7 = note: did you mean to use a trait alias?
7cac9316 8help: possible better candidate is found in another module, you can import it into scope
041b39d2 9 |
0531ce1d 10LL | use issue_3907::Foo;
041b39d2 11 |
32a655c1 12
0531ce1d 13error: aborting due to previous error
32a655c1 14
0531ce1d 15For more information about this error, try `rustc --explain E0404`.