fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
279 B10 linesraw
1error: unexpected `self` parameter in function
2  --> $DIR/bare-fn-start.rs:1:6
3   |
4LL | fn a(&self) { }
5   |      ^^^^^ not valid as function parameter
6   |
7   = note: `self` is only valid as the first parameter of an associated function
8
9error: aborting due to previous error
10