blob: 67676857e8da0046306709f77ec2d1a0f0b3e90d [file] [log] [blame]
// Check that `<-` and `in` syntax gets a hard error.
fn foo() {
let (x, y) = (0, 0);
x <- y; //~ ERROR expected one of
//~^ ERROR mismatched types
}
fn main() {
let (foo, bar) = (0, 0);
in(foo) { bar }; //~ ERROR expected expression, found keyword `in`
}