granite-rust/src/test/ui/traits/issue-8153.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
387 B
Text
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0201]: duplicate definitions with name `bar`:
2018-12-25 08:56:47 -07:00
--> $DIR/issue-8153.rs:11:5
2018-07-15 14:11:54 -07:00
|
LL | fn bar(&self) -> isize {1}
2022-06-22 20:00:12 +02:00
| ---------------------- previous definition of `bar` here
2019-03-09 15:03:44 +03:00
LL | fn bar(&self) -> isize {2}
2022-06-22 20:00:12 +02:00
| ^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
2018-07-15 14:11:54 -07:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0201`.