rust/tests/ui/lint/unknown-lints/other.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
181 B
Rust
Raw Normal View History

//@ ignore-test
// Companion to allow-in-other-module.rs
// This should not warn.
#![allow(not_a_real_lint)]
// This should not warn, either.
#[allow(not_a_real_lint)]
fn m() {}