summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unknown-lints/other.rs
blob: a5111c00a3ecf0e5473e40ec85638fdca17a6472 (plain)
1
2
3
4
5
6
7
8
9
10
// 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() {}