about summary refs log tree commit diff
path: root/tests/ui/attributes/malformed-attrs.stderr
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-14 04:29:53 +0000
committerbors <bors@rust-lang.org>2025-07-14 04:29:53 +0000
commitad635e5d0696076b4412dd7db7b7e8c0867d6e0c (patch)
treea7ec0ac87282349ff496a05ad5de004292dad224 /tests/ui/attributes/malformed-attrs.stderr
parent9c3064e131f4939cc95a29bb11413c49bbda1491 (diff)
parent68066b90b84b52fa4907c12e708b8418317e2a5d (diff)
downloadrust-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.stderr15
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
    |