2017-12-10 13:47:55 -06:00
|
|
|
error[E0201]: duplicate definitions with name `orange`:
|
|
|
|
--> $DIR/impl-duplicate-methods.rs:15:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn orange(&self) {}
|
2017-12-10 13:47:55 -06:00
|
|
|
| ------------------- previous definition of `orange` here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn orange(&self) {}
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ duplicate definition
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0201`.
|