rust/tests/ui/traits/alias/not-a-marker.rs
2024-07-25 00:38:50 -04:00

8 lines
137 B
Rust

#![feature(trait_alias, marker_trait_attr)]
#[marker]
//~^ ERROR attribute should be applied to a trait
trait Foo = Send;
fn main() {}