fork/rust

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

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

master
450 B14 linesraw
1error[E0380]: auto traits cannot have associated items
2  --> $DIR/issue-23080.rs:5:8
3   |
4LL |   unsafe auto trait Trait {
5   |                     ----- auto traits cannot have associated items
6LL |       fn method(&self) {
7   |  _____-  ^^^^^^
8LL | |         println!("Hello");
9LL | |     }
10   | |_____- help: remove these associated items
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0380`.