]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-item/impl-duplicate-methods.stderr
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / associated-item / impl-duplicate-methods.stderr
1 error[E0592]: duplicate definitions with name `orange`
2   --> $DIR/impl-duplicate-methods.rs:5:5
3    |
4 LL |     fn orange(&self) {}
5    |     ---------------- other definition for `orange`
6 LL |     fn orange(&self) {}
7    |     ^^^^^^^^^^^^^^^^ duplicate definitions for `orange`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0592`.