fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
519 B14 linesraw
1error[E0592]: duplicate definitions with name `method1`
2  --> $DIR/coherence-inherited-subtyping.rs:14:5
3   |
4LL |     fn method1(&self) {}
5   |     ^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `method1`
6...
7LL |     fn method1(&self) {}
8   |     -------------------- other definition for `method1`
9   |
10   = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0592`.