summaryrefslogtreecommitdiffstats
path: root/tests/ui/unknown-lint-tool-name.rs
blob: cd5d2f028af023bba1139040d9ba79719bf9a2e0 (plain)
1
2
3
4
5
6
#![deny(foo::bar)] //~ ERROR unknown tool name `foo` found in scoped lint: `foo::bar`
                   //~| ERROR unknown tool name `foo` found in scoped lint: `foo::bar`

#[allow(foo::bar)] //~ ERROR unknown tool name `foo` found in scoped lint: `foo::bar`
                   //~| ERROR unknown tool name `foo` found in scoped lint: `foo::bar`
fn main() {}