fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0201]: duplicate definitions with name `bar`: 2 --> $DIR/issue-4265.rs:10:5 3 | 4LL | / fn bar() { 5LL | | Foo { baz: 0 }.bar(); 6LL | | } 7 | |_____- previous definition of `bar` here 8LL | 9LL | / fn bar() { 10LL | | } 11 | |_____^ duplicate definition 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0201`.