rust/src/test/ui/issues/issue-23080-2.stderr

19 lines
588 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0380]: auto traits cannot have methods or associated items
2019-04-22 11:35:37 -05:00
--> $DIR/issue-23080-2.rs:5:1
2018-07-15 16:11:54 -05:00
|
LL | / unsafe auto trait Trait {
2019-03-09 06:03:44 -06:00
LL | |
2018-07-15 16:11:54 -05:00
LL | | type Output;
LL | | }
| |_^
error[E0275]: overflow evaluating the requirement `<() as Trait>::Output`
|
= note: required because of the requirements on the impl of `Trait` for `()`
= note: required because of the requirements on the impl of `Trait` for `()`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0275, E0380.
2018-07-15 16:11:54 -05:00
For more information about an error, try `rustc --explain E0275`.