Sign in
fuchsia
/
third_party
/
rust
/
a6f4ae864eb9a99117f7475325bf9ffb2c8e8b90
/
.
/
src
/
test
/
ui
/
pub-ident-fn-2.stderr
blob: bbbb3df876986b22dcf698a112731be2d141bf63 [
file
] [
log
] [
blame
]
error
:
missing
`fn`
for
method definition
-->
$DIR
/
pub
-
ident
-
fn
-
2.rs
:
11
:
4
|
LL
|
pub foo
(
s
:
usize
)
{
bar
()
}
|
^
help
:
add
`fn`
here to parse
`foo`
as
a
public
method
|
LL
|
pub fn foo
(
s
:
usize
)
{
bar
()
}
|
^^
error
:
aborting due to previous error