fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected one of `!` or `::`, found `foo` 2 --> $DIR/fn-defined-using-def.rs:6:5 3 | 4LL | def foo() {} 5 | --- ^^^ expected one of `!` or `::` 6 | | 7 | help: write `fn` instead of `def` to declare a function 8 9error: aborting due to previous error 10