File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -473,6 +473,7 @@ fn expand_preparsed_asm(
473
473
}
474
474
}
475
475
476
+ // Lint against the use of named labels in inline `asm!` but not `global_asm!`
476
477
if is_local_asm {
477
478
let find_label_span = |needle : & str | -> Option < Span > {
478
479
if let Some ( snippet) = & template_snippet {
Original file line number Diff line number Diff line change @@ -2488,7 +2488,7 @@ declare_lint! {
2488
2488
///
2489
2489
/// ### Explanation
2490
2490
///
2491
- /// LLVM's assembler is allowed to duplicate inline assembly blocks for any
2491
+ /// LLVM is allowed to duplicate inline assembly blocks for any
2492
2492
/// reason, for example when it is in a function that gets inlined. Because
2493
2493
/// of this, GNU assembler [local labels] *must* be used instead of labels
2494
2494
/// with a name. Using named labels might cause assembler or linker errors.
You can’t perform that action at this time.
0 commit comments