about summary refs log tree commit diff
path: root/tests/ui/lint/unknown-lints/other.rs
blob: 7770bc59108d778759baf86c39730c926d21286e (plain)
1
2
3
4
5
6
7
8
//@ ignore-auxiliary (used by `./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() {}