rust/src/test/ui/impl-duplicate-methods.stderr

12 lines
385 B
Plaintext
Raw Normal View History

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) {}
| ------------------- previous definition of `orange` here
2018-02-22 18:42:32 -06:00
LL | fn orange(&self) {}
| ^^^^^^^^^^^^^^^^^^^ 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`.