fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0380]: auto traits cannot have associated items 2 --> $DIR/issue-105732.rs:4:8 3 | 4LL | auto trait Foo { 5 | --- auto traits cannot have associated items 6LL | fn g(&self); 7 | ---^-------- help: remove these associated items 8 9error[E0599]: no method named `g` found for reference `&Self` in the current scope 10 --> $DIR/issue-105732.rs:10:14 11 | 12LL | self.g(); 13 | ^ help: there is a method with a similar name: `f` 14 15error: aborting due to 2 previous errors 16 17Some errors have detailed explanations: E0380, E0599. 18For more information about an error, try `rustc --explain E0380`.