fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0618]: expected function, found enum variant `X::Entry` 2 --> $DIR/E0618.rs:6:5 3 | 4LL | Entry, 5 | ----- enum variant `X::Entry` defined here 6... 7LL | X::Entry(); 8 | ^^^^^^^^-- 9 | | 10 | call expression requires function 11 | 12help: `X::Entry` is a unit enum variant, and does not take parentheses to be constructed 13 | 14LL - X::Entry(); 15LL + X::Entry; 16 | 17 18error[E0618]: expected function, found `i32` 19 --> $DIR/E0618.rs:9:5 20 | 21LL | let x = 0i32; 22 | - `x` has type `i32` 23LL | x(); 24 | ^-- 25 | | 26 | call expression requires function 27 28error: aborting due to 2 previous errors 29 30For more information about this error, try `rustc --explain E0618`.