]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-item/impl-duplicate-methods.stderr
Rollup merge of #106823 - m-ou-se:format-args-as-str-guarantees, r=dtolnay
[rust.git] / tests / 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`.