fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
303 B10 linesraw
1error: `self` parameter is only allowed in associated functions
2  --> $DIR/bare-fn-start.rs:1:6
3   |
4LL | fn a(&self) { }
5   |      ^^^^^ not semantically valid as function parameter
6   |
7   = note: associated functions are those in `impl` or `trait` definitions
8
9error: aborting due to previous error
10