Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
error-codes
/
E0618.rs
blob: 2616e7134c5d3499075bc095734743fab7603805 [
file
] [
log
] [
blame
]
enum
X
{
Entry
,
}
fn
main
()
{
X
::
Entry
();
//~^ ERROR expected function, found enum variant `X::Entry` [E0618]
let
x
=
0i32
;
x
();
//~^ ERROR expected function, found `i32` [E0618]
}