]>
Commit | Line | Data |
---|---|---|
7453a54e SL |
1 | #![feature(stmt_expr_attributes)] |
2 | #![deny(unused_parens)] | |
223e47cc | 3 | |
7453a54e SL |
4 | // Tests that lint attributes on statements/expressions are |
5 | // correctly applied to non-builtin early (AST) lints | |
c34b1796 AL |
6 | |
7 | fn main() { | |
7453a54e SL |
8 | #[allow(unused_parens)] |
9 | { | |
10 | let _ = (9); | |
11 | } | |
c34b1796 | 12 | } |