Skip to content

Commit 39c67cf

Browse files
committed
tidygotangryattabs
1 parent 1f7f03a commit 39c67cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_mir_build/src/thir/pattern/check_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,12 +1276,12 @@ fn report_non_exhaustive_match<'p, 'tcx>(
12761276
if ty.inner() == cx.tcx.types.usize {
12771277
err.note(format!(
12781278
"`{ty}::MAX` is not treated as exhaustive, \
1279-
so half-open ranges are necessary to match exhaustively",
1279+
so half-open ranges are necessary to match exhaustively",
12801280
));
12811281
} else if ty.inner() == cx.tcx.types.isize {
12821282
err.note(format!(
12831283
"`{ty}::MIN` and `{ty}::MAX` are not treated as exhaustive, \
1284-
so half-open ranges are necessary to match exhaustively",
1284+
so half-open ranges are necessary to match exhaustively",
12851285
));
12861286
}
12871287
} else if ty.inner() == cx.tcx.types.str_ {

0 commit comments

Comments
 (0)