From: src/test/compile-fail/E0297.rs E0297 needs a span_label, updating it from: ``` error[E0297]: refutable pattern in `for` loop binding: `None` not covered --> src/test/compile-fail/E0297.rs:14:5 | 14 | for Some(x) in xs {} //~ ERROR E0297 | ^^^^^^^^^^^^^^^^^^^^ ``` To: ``` error[E0297]: refutable pattern in `for` loop binding: `None` not covered --> src/test/compile-fail/E0297.rs:14:5 | 14 | for Some(x) in xs {} //~ ERROR E0297 | ^^^^^^^^^^^^^^^^^^^^ pattern `None` not covered ``` Bonus: narrow the span to focus on the "for `<pattern>`" piece: ``` error[E0297]: refutable pattern in `for` loop binding: `None` not covered --> src/test/compile-fail/E0297.rs:14:5 | 14 | for Some(x) in xs {} //~ ERROR E0297 | ^^^^^^^^^^^ pattern `None` not covered ```