]> git.lizzy.rs Git - rust.git/blob - src/test/ui/auto-traits/issue-23080-2.stderr
Fix font color for help button in ayu and dark themes
[rust.git] / src / test / ui / auto-traits / issue-23080-2.stderr
1 error[E0380]: auto traits cannot have methods or associated items
2   --> $DIR/issue-23080-2.rs:7:10
3    |
4 LL | unsafe auto trait Trait {
5    |                   ----- auto trait cannot have items
6 LL |     type Output;
7    |          ^^^^^^
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
16 Some errors have detailed explanations: E0275, E0380.
17 For more information about an error, try `rustc --explain E0275`.