2021-03-30 01:45:10 +03:00
|
|
|
/*
|
2021-04-07 20:01:24 +03:00
|
|
|
namespace: ParseStatement
|
2021-03-30 01:45:10 +03:00
|
|
|
expectation: Fail
|
|
|
|
*/
|
|
|
|
|
|
|
|
let mut x = expr;
|
|
|
|
|
|
|
|
let mut x = ();
|
|
|
|
|
|
|
|
let mut x = x+y;
|
|
|
|
|
|
|
|
let mut x = (x,y);
|
|
|
|
|
|
|
|
let mut x = x();
|
|
|
|
|
|
|
|
|
|
|
|
const mut x = expr;
|
|
|
|
|
|
|
|
const mut x = ();
|
|
|
|
|
|
|
|
const mut x = x+y;
|
|
|
|
|
|
|
|
const mut x = (x,y);
|
|
|
|
|
|
|
|
const mut x = x();
|
|
|
|
|
|
|
|
|
|
|
|
let mut x: u32 = expr;
|
|
|
|
|
|
|
|
let mut x: u32 = ();
|
|
|
|
|
|
|
|
let mut x: u32 = x+y;
|
|
|
|
|
|
|
|
let mut x: u32 = (x,y);
|
|
|
|
|
|
|
|
let mut x: u32 = x();
|
|
|
|
|
|
|
|
|
|
|
|
const mut x: u32 = expr;
|
|
|
|
|
|
|
|
const mut x: u32 = ();
|
|
|
|
|
|
|
|
const mut x: u32 = x+y;
|
|
|
|
|
|
|
|
const mut x: u32 = (x,y);
|
|
|
|
|
|
|
|
const mut x: u32 = x();
|
|
|
|
|
|
|
|
|
|
|
|
let (x,y,,) = ();
|
|
|
|
|
|
|
|
let (,x,y) = ();
|
|
|
|
|
2022-01-28 21:34:02 +03:00
|
|
|
let (x,,y) = ();
|
2022-02-15 04:25:57 +03:00
|
|
|
|
2022-02-16 22:33:52 +03:00
|
|
|
let x: [u8; (2,,)] = [[0,0], [0,0]];
|
|
|
|
|
|
|
|
|
|
|
|
let x: const = expr;
|
|
|
|
|
|
|
|
const x: let = expr;
|
|
|
|
|
|
|
|
let x: mut = expr;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
let x
|
|
|
|
|
|
|
|
let x:
|
|
|
|
|
|
|
|
let x = (a, y]);
|
2022-02-24 02:07:32 +03:00
|
|
|
|
|
|
|
let = 1u8;
|
|
|
|
|
|
|
|
let;
|
|
|
|
|
|
|
|
let x 1u8;
|
|
|
|
|
|
|
|
let x: u8;
|
|
|
|
|
|
|
|
let x: u8
|
|
|
|
|
|
|
|
let x: = 1;
|
|
|
|
|
|
|
|
let x: [u8] = 1;
|
|
|
|
|
|
|
|
let x: [u8;
|
|
|
|
|
|
|
|
let x: [u8; 1u8] = [1,
|
|
|
|
|
2022-03-03 01:13:37 +03:00
|
|
|
let dbg: u8 = ];
|
|
|
|
|
2022-03-15 02:36:16 +03:00
|
|
|
let 🦀: u8 = 0;
|
|
|
|
|
2022-03-14 17:58:51 +03:00
|
|
|
let (x) = ...;
|
|
|
|
|
2022-03-15 02:36:16 +03:00
|
|
|
let (x,) = ...;
|