2 Compiling functions v0.1.0 (file:///projects/functions)
3 error: expected expression, found `let` statement
6 2 | let x = (let y = 6);
9 error: expected expression, found statement (`let`)
12 2 | let x = (let y = 6);
15 = note: variable declaration using `let` is a statement
17 error[E0658]: `let` expressions in this position are unstable
20 2 | let x = (let y = 6);
23 = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
25 warning: unnecessary parentheses around assigned value
28 2 | let x = (let y = 6);
31 = note: `#[warn(unused_parens)]` on by default
32 help: remove these parentheses
34 2 - let x = (let y = 6);
35 2 + let x = let y = 6;
38 For more information about this error, try `rustc --explain E0658`.
39 warning: `functions` (bin "functions") generated 1 warning
40 error: could not compile `functions` due to 3 previous errors; 1 warning emitted