summaryrefslogtreecommitdiffstats
path: root/tests/ui/on-unimplemented/issue-104140.rs
blob: ade3f727004abe27048784e79c36b2f242bea04b (plain)
1
2
3
4
5
6
7
8
#![feature(rustc_attrs)]

trait Foo {}

#[rustc_on_unimplemented] //~ ERROR malformed `rustc_on_unimplemented` attribute input
impl Foo for u32 {}

fn main() {}