fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
196 B10 linesraw
1// run-rustfix
2
3fn main() {
4    match Some(1) { //~ ERROR non-exhaustive patterns: `None` not covered
5        Some(1) => {}
6        // hello
7        Some(_) => {},
8        None => todo!()
9    }
10}