Sign in
rust
/
rust
/
c1d608bb7e862c8d8b74ce7cfc042fa98e9d4792
/
.
/
tests
/
ui
/
parser
/
fn-defined-using-func.stderr
blob: 9dd90798d9261bae51cb6564348cc3b85d4c7469 [
file
]
error
:
expected one of
`!`
or
`::`
,
found
`foo`
-->
$DIR
/
fn
-
defined
-
using
-
func
.
rs
:
6
:
6
|
LL
|
func foo
()
{}
|
----
^^^
expected one of
`!`
or
`::`
|
|
|
help
:
write
`fn`
instead of
`func`
to declare a
function
error
:
aborting due to
1
previous error