fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0618]: expected function, found enum variant `X::Entry` 2 --> $DIR/E0618.rs:6:5 3 | 4LL | Entry, 5 | ----- `X::Entry` defined here 6... 7LL | X::Entry(); 8 | ^^^^^^^^-- 9 | | 10 | call expression requires function 11help: `X::Entry` is a unit variant, you need to write it without the parenthesis 12 | 13LL | X::Entry; 14 | ^^^^^^^^ 15 16error[E0618]: expected function, found `i32` 17 --> $DIR/E0618.rs:9:5 18 | 19LL | let x = 0i32; 20 | - `i32` defined here 21LL | x(); 22 | ^-- 23 | | 24 | call expression requires function 25 26error: aborting due to 2 previous errors 27 28For more information about this error, try `rustc --explain E0618`.