fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
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