about summary refs log tree commit diff
path: root/tests/ui/asm
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-27 14:51:42 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-06-20 13:15:38 +1000
commit42b02019dc9beaffc424719c6afa9c64f1f4e10e (patch)
treed8fbac19ff13c452b8549a9a5b0affdcb36e6f78 /tests/ui/asm
parentf9c15f40fbd7b4ba1baea6fb89551274047e17b3 (diff)
downloadrust-42b02019dc9beaffc424719c6afa9c64f1f4e10e.tar.gz
rust-42b02019dc9beaffc424719c6afa9c64f1f4e10e.zip
Fix `tests/ui/asm/naked-invalid-attr.stderr`.
`{{root}}` is supposed to be an internal-only name but it shows up in
the output.

(I'm working towards a more general fix -- a universal "joiner" function
that can be used all over the place -- but I'm not there yet, so let's
fix this one in-place for now.)
Diffstat (limited to 'tests/ui/asm')
-rw-r--r--tests/ui/asm/naked-invalid-attr.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/asm/naked-invalid-attr.stderr b/tests/ui/asm/naked-invalid-attr.stderr
index ef389e7d921..6661084861e 100644
--- a/tests/ui/asm/naked-invalid-attr.stderr
+++ b/tests/ui/asm/naked-invalid-attr.stderr
@@ -37,7 +37,7 @@ error[E0736]: attribute incompatible with `#[unsafe(naked)]`
   --> $DIR/naked-invalid-attr.rs:56:1
    |
 LL | #[::a]
-   | ^^^^^^ the `{{root}}::a` attribute is incompatible with `#[unsafe(naked)]`
+   | ^^^^^^ the `::a` attribute is incompatible with `#[unsafe(naked)]`
 ...
 LL | #[unsafe(naked)]
    | ---------------- function marked with `#[unsafe(naked)]` here