blob: 2616e7134c5d3499075bc095734743fab7603805 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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]
}
|