blob: 4f550eae06363bde6e311f901e92952e520bd1b5 [file] [log] [blame]
//@ check-pass
// Empty (and reason-only) lint attributes are legal—although we may want to
// lint them in the future (Issue #55112).
#![allow()] //~ WARN unused attribute
#![warn(reason = "observationalism")] //~ WARN unused attribute
#[forbid()] //~ WARN unused attribute
fn devoir() {}
#[deny(reason = "ultion")] //~ WARN unused attribute
fn waldgrave() {}
fn main() {}