Sign in
fuchsia
/
third_party
/
rust
/
ba2853b6d3a197cdbec5543be2592ca430b49af6
/
.
/
src
/
test
/
run-pass
/
lint-expr-stmt-attrs-for-early-lints.rs
blob: 9ca3ecc72d2c28ab622d1926e99a7ed882b8bfd0 [
file
] [
log
] [
blame
]
#![
feature
(
stmt_expr_attributes
)]
#![
deny
(
unused_parens
)]
// Tests that lint attributes on statements/expressions are
// correctly applied to non-builtin early (AST) lints
fn
main
()
{
#[
allow
(
unused_parens
)]
{
let
_
=
(
9
);
}
}