about summary refs log tree commit diff
path: root/tests/ui/on-unimplemented/expected-comma-found-token.rs
blob: d60ab3341fd6df6050b0ed6d077f19cbd729a909 (plain)
1
2
3
4
5
6
7
8
9
10
//! Test for invalid MetaItem syntax in the attribute

#![crate_type = "lib"]
#![feature(rustc_attrs)]

#[rustc_on_unimplemented(
    message="the message"
    label="the label" //~ ERROR expected `,`, found `label`
)]
trait T {}