error[E0380]: auto traits cannot have methods or associated items
- --> $DIR/issue-23080-2.rs:5:1
+ --> $DIR/issue-23080-2.rs:6:10
|
-LL | / unsafe auto trait Trait {
-LL | |
-LL | | type Output;
-LL | | }
- | |_^
+LL | unsafe auto trait Trait {
+ | ----- auto trait cannot have items
+LL | type Output;
+ | ^^^^^^
error[E0275]: overflow evaluating the requirement `<() as Trait>::Output`
|