]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-3907.stderr
New upstream version 1.21.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
6 |
7cac9316 7help: possible better candidate is found in another module, you can import it into scope
041b39d2 8 |
3b2f2976 914 | use issue_3907::Foo;
041b39d2 10 |
32a655c1
SL
11
12error: cannot continue compilation due to previous error
13