mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
290 B
Rust
16 lines
290 B
Rust
// 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;
|
|
}
|