2018-10-16 01:35:58 -05:00
|
|
|
#![feature(lint_reasons)]
|
|
|
|
|
2019-09-01 16:30:19 -05:00
|
|
|
// check-pass
|
2018-10-16 01:35:58 -05:00
|
|
|
|
|
|
|
// Empty (and reason-only) lint attributes are legal—although we may want to
|
|
|
|
// lint them in the future (Issue #55112).
|
|
|
|
|
|
|
|
#![allow()]
|
|
|
|
#![warn(reason = "observationalism")]
|
|
|
|
|
|
|
|
#[forbid()]
|
|
|
|
fn devoir() {}
|
|
|
|
|
|
|
|
#[deny(reason = "ultion")]
|
|
|
|
fn waldgrave() {}
|
|
|
|
|
|
|
|
fn main() {}
|