]> git.lizzy.rs Git - rust.git/blob - tests/ui/author/blocks.rs
Auto merge of #4591 - flip1995:rustup, r=flip1995
[rust.git] / tests / ui / author / blocks.rs
1 #![feature(stmt_expr_attributes)]
2 #![allow(redundant_semicolon, clippy::no_effect)]
3
4 #[rustfmt::skip]
5 fn main() {
6     #[clippy::author]
7     {
8         ;;;;
9     }
10 }
11
12 #[clippy::author]
13 fn foo() {
14     let x = 42i32;
15     -x;
16 }