]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #89046 - oli-obk:fix_oflo, r=estebank
authorthe8472 <the8472@users.noreply.github.com>
Wed, 22 Sep 2021 17:03:22 +0000 (19:03 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 17:03:22 +0000 (19:03 +0200)
commit5948a7b40799d0c0ab4dd171375a335402686ff6
treed9de0161d54c1f87a2d3493d09729c15d926fd4e
parent1deef1f75d0761256578508c1b398718e121d094
parentc9fe0938767c8803330367806db8ba1ce81c7843
Rollup merge of #89046 - oli-obk:fix_oflo, r=estebank

"Fix" an overflow in byte position math

r? `@estebank`

help! I fixed the ICE only to brick the diagnostic.

I mean, it was wrong previously (using an already expanded macro span), but it is really bad now XD
compiler/rustc_errors/src/lib.rs
compiler/rustc_parse/src/parser/expr.rs
compiler/rustc_span/src/lib.rs