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>(
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_ {
You can’t perform that action at this time.
0 commit comments