summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/rfc-2383-lint-reason/crate_level_expect.rs
blob: 9f591ba9852324b30f5a5702eb97345b576061c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// check-pass

#![feature(lint_reasons)]

#![warn(unused)]

#![expect(unused_mut)]
//~^ WARNING this lint expectation is unfulfilled [unfulfilled_lint_expectations]
//~| NOTE `#[warn(unfulfilled_lint_expectations)]` on by default

#![expect(unused_variables)]

fn main() {
    let x = 0;
}