This commit is contained in:
Jihyun Yu 2013-05-21 18:04:55 +09:00
parent 15e44381af
commit f8af2b50ee
7 changed files with 183 additions and 81 deletions

View file

@ -0,0 +1,6 @@
fn main() {
match 1 {
1..2u => 1, //~ ERROR mismatched types in range
_ => 2,
};
}

View file

@ -0,0 +1,7 @@
fn main() {
match 1 {
1 => 1, //~ ERROR mismatched types between arms
2u => 1,
_ => 2,
};
}