]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4265.stderr
Add a fixme comment
[rust.git] / src / test / ui / issues / issue-4265.stderr
1 error[E0201]: duplicate definitions with name `bar`:
2   --> $DIR/issue-4265.rs:10:5
3    |
4 LL | /     fn bar() {
5 LL | |         Foo { baz: 0 }.bar();
6 LL | |     }
7    | |_____- previous definition of `bar` here
8 LL |
9 LL | /     fn bar() {
10 LL | |     }
11    | |_____^ duplicate definition
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0201`.