diff options
| author | bors <bors@rust-lang.org> | 2025-07-14 04:29:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-14 04:29:53 +0000 |
| commit | ad635e5d0696076b4412dd7db7b7e8c0867d6e0c (patch) | |
| tree | a7ec0ac87282349ff496a05ad5de004292dad224 /tests/ui/attributes/malformed-attrs.stderr | |
| parent | 9c3064e131f4939cc95a29bb11413c49bbda1491 (diff) | |
| parent | 68066b90b84b52fa4907c12e708b8418317e2a5d (diff) | |
| download | rust-ad635e5d0696076b4412dd7db7b7e8c0867d6e0c.tar.gz rust-ad635e5d0696076b4412dd7db7b7e8c0867d6e0c.zip | |
Auto merge of #143779 - JonathanBrouwer:automatically_derived_parser, r=oli-obk
Port `#[automatically_derived]` to the new attribute parsing infrastructure Ports `#[automatically_derived]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971351163 r? `@oli-obk` cc `@jdonszelmann`
Diffstat (limited to 'tests/ui/attributes/malformed-attrs.stderr')
| -rw-r--r-- | tests/ui/attributes/malformed-attrs.stderr | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/ui/attributes/malformed-attrs.stderr b/tests/ui/attributes/malformed-attrs.stderr index f16ba706485..165a275d932 100644 --- a/tests/ui/attributes/malformed-attrs.stderr +++ b/tests/ui/attributes/malformed-attrs.stderr @@ -164,12 +164,6 @@ error: malformed `debugger_visualizer` attribute input LL | #[debugger_visualizer] | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[debugger_visualizer(natvis_file = "...", gdb_script_file = "...")]` -error: malformed `automatically_derived` attribute input - --> $DIR/malformed-attrs.rs:191:1 - | -LL | #[automatically_derived = 18] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[automatically_derived]` - error: malformed `thread_local` attribute input --> $DIR/malformed-attrs.rs:203:1 | @@ -546,6 +540,15 @@ LL | #[unsafe(ffi_const = 1)] | | didn't expect any arguments here | help: must be of the form: `#[ffi_const]` +error[E0565]: malformed `automatically_derived` attribute input + --> $DIR/malformed-attrs.rs:191:1 + | +LL | #[automatically_derived = 18] + | ^^^^^^^^^^^^^^^^^^^^^^^^----^ + | | | + | | didn't expect any arguments here + | help: must be of the form: `#[automatically_derived]` + error[E0565]: malformed `non_exhaustive` attribute input --> $DIR/malformed-attrs.rs:197:1 | |
