]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-3907.stderr
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / ui / resolve / issue-3907.stderr
CommitLineData
32a655c1
SL
1error[E0404]: expected trait, found type alias `Foo`
2 --> $DIR/issue-3907.rs:20:6
3 |
420 | impl Foo for S { //~ ERROR expected trait, found type alias `Foo`
5 | ^^^ type aliases cannot be used for traits
7cac9316 6help: possible better candidate is found in another module, you can import it into scope
041b39d2 7 |
3b2f2976 814 | use issue_3907::Foo;
041b39d2 9 |
32a655c1
SL
10
11error: cannot continue compilation due to previous error
12