]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99192 - Amanieu:fix-asm-srcloc, r=petrochenkov
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Thu, 14 Jul 2022 13:54:05 +0000 (19:24 +0530)
committerGitHub <noreply@github.com>
Thu, 14 Jul 2022 13:54:05 +0000 (19:24 +0530)
commitd3a1aa0b4380b7ab217a1e2889a4217e70237f61
tree3efaccb42689732981456540889443ec385bc1aa
parentecae3d74e26b8f10322060954fbc2a6c4ba92402
parentf4e78131218efac2c17b9a150ebd3ac7868d0dbe
Rollup merge of #99192 - Amanieu:fix-asm-srcloc, r=petrochenkov

Fix spans for asm diagnostics

Line spans were incorrect if the first line of an asm statement was an
empty string.
compiler/rustc_builtin_macros/src/asm.rs