File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_mir_build/src/thir/pattern Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1276,12 +1276,12 @@ fn report_non_exhaustive_match<'p, 'tcx>(
1276
1276
if ty. inner ( ) == cx. tcx . types . usize {
1277
1277
err. note ( format ! (
1278
1278
"`{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",
1280
1280
) ) ;
1281
1281
} else if ty. inner ( ) == cx. tcx . types . isize {
1282
1282
err. note ( format ! (
1283
1283
"`{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",
1285
1285
) ) ;
1286
1286
}
1287
1287
} else if ty. inner ( ) == cx. tcx . types . str_ {
You can’t perform that action at this time.
0 commit comments