fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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