fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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