]> git.lizzy.rs Git - rust.git/blob - tests/ui/auto-traits/issue-23080-2.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / auto-traits / issue-23080-2.stderr
1 error[E0380]: auto traits cannot have associated items
2   --> $DIR/issue-23080-2.rs:5:10
3    |
4 LL | unsafe auto trait Trait {
5    |                   ----- auto trait cannot have associated items
6 LL |     type Output;
7    |     -----^^^^^^- help: remove these associated items
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0380`.