fork/rust

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

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

1.43.0
238 B8 linesraw
1error: unexpected `self` parameter in function
2  --> $DIR/bare-fn.rs:1:16
3   |
4LL | fn b(foo: u32, &mut self) { }
5   |                ^^^^^^^^^ must be the first parameter of an associated function
6
7error: aborting due to previous error
8