diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-02-09 22:50:01 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-02-24 14:31:19 +0100 |
| commit | 309b46ad68d15377edd95836796bceb196b2d1b8 (patch) | |
| tree | f402457c7e5774f142c9cf75d39e05390060a308 /tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr | |
| parent | 80314b1de94b8e98498b5fec5763043b5b49e472 (diff) | |
| download | rust-309b46ad68d15377edd95836796bceb196b2d1b8.tar.gz rust-309b46ad68d15377edd95836796bceb196b2d1b8.zip | |
Fix test output expectations
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.stderr | 12 |
1 files changed, 6 insertions, 6 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 28f1a0d6ed5..076f2df28e3 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 @@ -1,17 +1,17 @@ error[E0658]: allow_internal_unstable side-steps feature gating and stability checks - --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1 + --> $DIR/feature-gate-allow-internal-unstable-struct.rs:6:1 | -LL | #[allow_internal_unstable()] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +LL | #[allow_internal_unstable(something)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: add `#![feature(allow_internal_unstable)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error: attribute should be applied to a macro - --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1 + --> $DIR/feature-gate-allow-internal-unstable-struct.rs:6:1 | -LL | #[allow_internal_unstable()] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +LL | #[allow_internal_unstable(something)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ LL | LL | struct S; | --------- not a macro |
