]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0380]: auto traits cannot have methods or associated items |
ba9703b0 | 2 | --> $DIR/issue-23080-2.rs:7:10 |
8faf50e0 | 3 | | |
ba9703b0 XL |
4 | LL | unsafe auto trait Trait { |
5 | | ----- auto trait cannot have items | |
6 | LL | type Output; | |
7 | | ^^^^^^ | |
8faf50e0 XL |
8 | |
9 | error[E0275]: overflow evaluating the requirement `<() as Trait>::Output` | |
10 | | | |
11 | = note: required because of the requirements on the impl of `Trait` for `()` | |
12 | = note: required because of the requirements on the impl of `Trait` for `()` | |
13 | ||
14 | error: aborting due to 2 previous errors | |
15 | ||
48663c56 | 16 | Some errors have detailed explanations: E0275, E0380. |
8faf50e0 | 17 | For more information about an error, try `rustc --explain E0275`. |