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