summary refs log tree commit diff
path: root/src/test/ui/issues/issue-4265.stderr
blob: 4faf5d3a92302bf69e0a84f5ed801612ec2f243a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0201]: duplicate definitions with name `bar`:
  --> $DIR/issue-4265.rs:10:5
   |
LL | /     fn bar() {
LL | |         Foo { baz: 0 }.bar();
LL | |     }
   | |_____- previous definition of `bar` here
LL | 
LL | /     fn bar() {
LL | |     }
   | |_____^ duplicate definition

error: aborting due to previous error

For more information about this error, try `rustc --explain E0201`.