about summary refs log tree commit diff
path: root/tests/ui/unknown-unstable-lints/deny-unstable-lint-inline.rs
blob: a13c92151ac9cde55eae67e524844b8b2237cce1 (plain)
1
2
3
4
5
6
7
//@ check-fail

#![deny(unknown_lints)]
#![allow(test_unstable_lint)]
//~^ ERROR unknown lint: `test_unstable_lint`

fn main() {}