mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 08:07:41 +00:00
11 lines
227 B
Plaintext
11 lines
227 B
Plaintext
error: `#[marker]` attribute cannot be used on trait aliases
|
|
--> $DIR/not-a-marker.rs:3:1
|
|
|
|
|
LL | #[marker]
|
|
| ^^^^^^^^^
|
|
|
|
|
= help: `#[marker]` can only be applied to traits
|
|
|
|
error: aborting due to 1 previous error
|
|
|