fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0201]: duplicate definitions with name `bar`: 2 --> $DIR/issue-8153.rs:11:5 3 | 4LL | fn bar(&self) -> isize; 5 | ----------------------- item in trait 6... 7LL | fn bar(&self) -> isize {1} 8 | -------------------------- previous definition here 9LL | fn bar(&self) -> isize {2} 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0201`.