]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0297.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / error-codes / E0297.stderr
CommitLineData
2c00a5a8 1error[E0005]: refutable pattern in `for` loop binding: `None` not covered
0731742a 2 --> $DIR/E0297.rs:4:9
2c00a5a8 3 |
0531ce1d 4LL | for Some(x) in xs {}
2c00a5a8 5 | ^^^^^^^ pattern `None` not covered
94222f64 6 |
5e7ed085
FG
7note: `Option<i32>` defined here
8 --> $SRC_DIR/core/src/option.rs:LL:COL
ba9703b0 9 |
064997fb
FG
10LL | pub enum Option<T> {
11 | ------------------
12...
13LL | None,
14 | ^^^^ not covered
1b1a35ee 15 = note: the matched value is of type `Option<i32>`
2c00a5a8
XL
16
17error: aborting due to previous error
18
0531ce1d 19For more information about this error, try `rustc --explain E0005`.