]> git.lizzy.rs Git - rust.git/commitdiff
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)
"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

1  2 
compiler/rustc_errors/src/lib.rs
compiler/rustc_parse/src/parser/expr.rs
compiler/rustc_span/src/lib.rs

Simple merge
Simple merge