rust/src/test/ui/impl-duplicate-methods.stderr
Vadim Petrochenkov fa2d9fc4b9 Update UI tests
2018-02-26 20:24:02 +03:00

11 lines
395 B
Text

error[E0201]: duplicate definitions with name `orange`:
--> $DIR/impl-duplicate-methods.rs:15:5
|
LL | fn orange(&self) {}
| ------------------- previous definition of `orange` here
LL | fn orange(&self) {}
| ^^^^^^^^^^^^^^^^^^^ duplicate definition
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0201"