about summary refs log tree commit diff
path: root/tests/ui/traits/alias/not-a-marker.rs
blob: b004b9ff9ae3f8e889a06975038e2769069b3b90 (plain)
1
2
3
4
5
6
7
#![feature(trait_alias, marker_trait_attr)]

#[marker]
//~^ ERROR attribute should be applied to a trait
trait Foo = Send;

fn main() {}