]>
Commit | Line | Data |
---|---|---|
32a655c1 SL |
1 | error[E0404]: expected trait, found type alias `Foo` |
2 | --> $DIR/issue-3907.rs:20:6 | |
3 | | | |
4 | 20 | impl Foo for S { //~ ERROR expected trait, found type alias `Foo` | |
5 | | ^^^ type aliases cannot be used for traits | |
6 | | | |
7cac9316 | 7 | help: possible better candidate is found in another module, you can import it into scope |
041b39d2 | 8 | | |
3b2f2976 | 9 | 14 | use issue_3907::Foo; |
041b39d2 | 10 | | |
32a655c1 SL |
11 | |
12 | error: cannot continue compilation due to previous error | |
13 |