fork/rust

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

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

master
569 B15 linesraw
1error[E0005]: refutable pattern in function argument
2  --> $DIR/refutable-pattern-in-fn-arg.rs:2:14
3   |
4LL |     let f = |3: isize| println!("hello");
5   |              ^ pattern `_` not covered
6   |
7   = note: the matched value is of type `isize`
8help: alternatively, you could prepend the pattern with an underscore to define a new named variable; identifiers cannot begin with digits
9   |
10LL |     let f = |_3: isize| println!("hello");
11   |              +
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0005`.