7 lines
123 B
Rust
7 lines
123 B
Rust
fn main() {
|
|
match Some("foo") {
|
|
None::<isize> => {} //~ ERROR mismatched types
|
|
Some(_) => {}
|
|
}
|
|
}
|