We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a28013 commit 39d4bd6Copy full SHA for 39d4bd6
compiler/rustc_codegen_ssa/src/back/write.rs
@@ -2016,9 +2016,7 @@ impl SharedEmitterMain {
2016
Ok(SharedEmitterMessage::InlineAsmError(inner)) => {
2017
assert_matches!(inner.level, Level::Error | Level::Warning | Level::Note);
2018
let mut err = Diag::<()>::new(sess.dcx(), inner.level, inner.msg);
2019
- if !inner.span.is_dummy() {
2020
- err.span(inner.span.span());
2021
- }
+ err.span(inner.span.span());
2022
2023
// Point to the generated assembly if it is available.
2024
if let Some((buffer, spans)) = inner.source {
0 commit comments