]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/fn-defined-using-fun.stderr
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / parser / fn-defined-using-fun.stderr
1 error: expected one of `!` or `::`, found `foo`
2   --> $DIR/fn-defined-using-fun.rs:6:5
3    |
4 LL | fun foo() {}
5    | --- ^^^ expected one of `!` or `::`
6    | |
7    | help: write `fn` instead of `fun` to declare a function
8
9 error: aborting due to previous error
10