1 error[E0785]: cannot define inherent `impl` for a dyn auto trait
2 --> $DIR/issue-85026.rs:5:6
4 LL | impl dyn AutoTrait {}
5 | ^^^^^^^^^^^^^ impl requires at least one non-auto trait
7 = note: define and implement a new trait or type instead
9 error[E0785]: cannot define inherent `impl` for a dyn auto trait
10 --> $DIR/issue-85026.rs:8:6
12 LL | impl dyn Unpin {}
13 | ^^^^^^^^^ impl requires at least one non-auto trait
15 = note: define and implement a new trait or type instead
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0785`.