about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authory21 <30553356+y21@users.noreply.github.com>2024-10-20 19:00:55 +0200
committery21 <30553356+y21@users.noreply.github.com>2024-10-20 19:00:55 +0200
commit65eb1ec0fbc72df2fa6122fa061cd73fc7140612 (patch)
tree027f016dad5a87cf4731bebdb738a5cc3ab580ad /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parent4de65a113f3f15cfc674c7b77cfa3afe1ddbe090 (diff)
downloadrust-65eb1ec0fbc72df2fa6122fa061cd73fc7140612.tar.gz
rust-65eb1ec0fbc72df2fa6122fa061cd73fc7140612.zip
remove the semicolon for builtin macro call statements in `statement_outside_block`
The expansion of `asm!()` and `line!()` is not marked as from an expansion, in which case `SourceMap::stmt_span` returns the input span unchanged. So instead of using `stmt_span`, use `mac_call_stmt_semi_span` directly
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions