rust/tests/ui/traits/alias/not-a-marker.rs

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() {}