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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
126 B
Rust
Raw Normal View History

#![feature(trait_alias, marker_trait_attr)]
#[marker]
//~^ ERROR attribute cannot be used on
trait Foo = Send;
fn main() {}