about summary refs log tree commit diff
path: root/tests/ui/asm
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-20 20:03:24 +0200
committerGitHub <noreply@github.com>2025-06-20 20:03:24 +0200
commit31663db8965dd30d07ee700631a6f67c12fe0e19 (patch)
treeb131484b5b4c79b1879c9b87f32ce432fc447e23 /tests/ui/asm
parent74cea635e1b14337acd5c06d8b21a24f01e5002e (diff)
parentb95d39d37ae99bca1e9938738ec2c0e3724eefb1 (diff)
downloadrust-31663db8965dd30d07ee700631a6f67c12fe0e19.tar.gz
rust-31663db8965dd30d07ee700631a6f67c12fe0e19.zip
Rollup merge of #142767 - nnethercote:symbol-cleanups, r=petrochenkov
Some symbol and PathRoot cleanups

I'm looking into unifying how we join and print paths. Here are some preliminary cleanups.

r? ``@petrochenkov``
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