]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-duplicate-methods.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / impl-duplicate-methods.stderr
1 error[E0201]: duplicate definitions with name `orange`:
2   --> $DIR/impl-duplicate-methods.rs:15:5
3    |
4 LL |     fn orange(&self) {}
5    |     ------------------- previous definition of `orange` here
6 LL |     fn orange(&self) {}
7    |     ^^^^^^^^^^^^^^^^^^^ duplicate definition
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0201`.