diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-27 14:51:42 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-20 13:15:38 +1000 |
| commit | 42b02019dc9beaffc424719c6afa9c64f1f4e10e (patch) | |
| tree | d8fbac19ff13c452b8549a9a5b0affdcb36e6f78 /tests/ui/asm | |
| parent | f9c15f40fbd7b4ba1baea6fb89551274047e17b3 (diff) | |
| download | rust-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.stderr | 2 |
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 |
