2016-04-24 21:35:50 +03:00
|
|
|
fn main() {
|
2022-06-08 04:40:55 +00:00
|
|
|
let box = 0;
|
|
|
|
//~^ ERROR expected pattern, found `=`
|
|
|
|
let box: bool;
|
|
|
|
//~^ ERROR expected pattern, found `:`
|
|
|
|
let mut box = 0;
|
|
|
|
//~^ ERROR expected pattern, found `=`
|
|
|
|
let (box,) = (0,);
|
|
|
|
//~^ ERROR expected pattern, found `,`
|
2016-04-24 21:35:50 +03:00
|
|
|
}
|