]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #87712 - est31:line-column-1-based, r=petrochenkov
authorbors <bors@rust-lang.org>
Wed, 4 Aug 2021 04:27:35 +0000 (04:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 4 Aug 2021 04:27:35 +0000 (04:27 +0000)
commit71ff9b41e9ebd3e336019513917a7a8868d1cc66
treed0694f2d26fa1e9943433bc77bbc58271847e5e5
parentbb744e1e9f1e193014ab3f04bf5e0640dbe4dc63
parent7d20789c0225160e99267b81c5431e3f75cf5421
Auto merge of #87712 - est31:line-column-1-based, r=petrochenkov

Proc macro spans: make columns 1 based

This makes proc macro spans consistent with the `column!()` macro as well as `std::panic::Location`, as both are 1-based.

https://github.com/rust-lang/rust/issues/54725#issuecomment-497246753
library/proc_macro/src/lib.rs