rust/src/test/ui/issues/issue-23080-2.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

19 lines
570 B
Plaintext

error[E0380]: auto traits cannot have methods or associated items
--> $DIR/issue-23080-2.rs:7:1
|
LL | / unsafe auto trait Trait {
LL | |
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 occurred: E0275, E0380.
For more information about an error, try `rustc --explain E0275`.