about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-16 18:04:58 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-08-21 13:15:30 +0200
commit2158e2d4d7b2722325de01530296c4e93297c06f (patch)
treed18a87ad2bc0cdb0fd5cabf8f59ab2eb6d7beb7f /tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr
parent9be8effb3f7636521d0d177fe23504bd69094ba3 (diff)
downloadrust-2158e2d4d7b2722325de01530296c4e93297c06f.tar.gz
rust-2158e2d4d7b2722325de01530296c4e93297c06f.zip
refactor target checking, move out of context.rs and rename MaybeWarn to Policy
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr b/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr
index cb8cf29e99d..42141b891ae 100644
--- a/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr
+++ b/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr
@@ -13,7 +13,7 @@ error: `#[allow_internal_unstable]` attribute cannot be used on structs
 LL | #[allow_internal_unstable(something)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-   = help: `#[allow_internal_unstable]` can be applied to macro defs, functions
+   = help: `#[allow_internal_unstable]` can be applied to macro defs and functions
 
 error: aborting due to 2 previous errors