fork/rust

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

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

master
392 B15 linesraw
1error[E0201]: duplicate definitions with name `foo`:
2  --> $DIR/impl_items-2.rs:14:5
3   |
4LL |     fn foo() {}
5   |     ----------- item in trait
6...
7LL |     fn foo() {}
8   |     ----------- previous definition here
9...
10LL |     fn foo() {}
11   |     ^^^^^^^^^^^ duplicate definition
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0201`.