about summary refs log tree commit diff
path: root/tests/ui/attributes/malformed-attrs.stderr
diff options
context:
space:
mode:
authorPavel Grigorenko <GrigorenkoPV@ya.ru>2025-06-24 01:49:26 +0300
committerPavel Grigorenko <GrigorenkoPV@ya.ru>2025-07-09 01:18:28 +0300
commit12f6487d79199c660edfba58cfcdc34e717b9abc (patch)
treeb525340129c6e3900baa9e6e6d48b14868ae7305 /tests/ui/attributes/malformed-attrs.stderr
parenta57a885abc342cf0fec0521da21b295f8694f75e (diff)
downloadrust-12f6487d79199c660edfba58cfcdc34e717b9abc.tar.gz
rust-12f6487d79199c660edfba58cfcdc34e717b9abc.zip
Port `#[marker]` to the new attribute system
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 ef5dcf7b2a0..aef54248bb6 100644
--- a/tests/ui/attributes/malformed-attrs.stderr
+++ b/tests/ui/attributes/malformed-attrs.stderr
@@ -116,12 +116,6 @@ error: malformed `cfi_encoding` attribute input
 LL | #[cfi_encoding]
    | ^^^^^^^^^^^^^^^ help: must be of the form: `#[cfi_encoding = "encoding"]`
 
-error: malformed `marker` attribute input
-  --> $DIR/malformed-attrs.rs:155:1
-   |
-LL | #[marker = 3]
-   | ^^^^^^^^^^^^^ help: must be of the form: `#[marker]`
-
 error: malformed `fundamental` attribute input
   --> $DIR/malformed-attrs.rs:157:1
    |
@@ -522,6 +516,15 @@ LL | #[rustc_layout_scalar_valid_range_end]
    | expected this to be a list
    | help: must be of the form: `#[rustc_layout_scalar_valid_range_end(end)]`
 
+error[E0565]: malformed `marker` attribute input
+  --> $DIR/malformed-attrs.rs:155:1
+   |
+LL | #[marker = 3]
+   | ^^^^^^^^^---^
+   | |        |
+   | |        didn't expect any arguments here
+   | help: must be of the form: `#[marker]`
+
 error[E0565]: malformed `ffi_pure` attribute input
   --> $DIR/malformed-attrs.rs:165:5
    |