2023-04-23 06:03:09 -05:00
|
|
|
//@edition:2018
|
2021-12-06 05:33:31 -06:00
|
|
|
|
2020-03-03 17:54:27 -06:00
|
|
|
#![allow(redundant_semicolons, clippy::no_effect)]
|
2021-12-06 05:33:31 -06:00
|
|
|
#![feature(stmt_expr_attributes)]
|
|
|
|
#![feature(async_closure)]
|
2019-05-19 09:52:44 -05:00
|
|
|
|
2019-05-20 08:32:46 -05:00
|
|
|
#[rustfmt::skip]
|
2019-05-19 09:52:44 -05:00
|
|
|
fn main() {
|
|
|
|
#[clippy::author]
|
|
|
|
{
|
2021-07-29 05:16:06 -05:00
|
|
|
let x = 42i32;
|
2021-12-06 05:33:31 -06:00
|
|
|
let _t = 1f32;
|
|
|
|
|
2021-07-29 05:16:06 -05:00
|
|
|
-x;
|
|
|
|
};
|
|
|
|
#[clippy::author]
|
|
|
|
{
|
|
|
|
let expr = String::new();
|
|
|
|
drop(expr)
|
|
|
|
};
|
2021-12-06 05:33:31 -06:00
|
|
|
|
|
|
|
#[clippy::author]
|
|
|
|
async move || {};
|
2019-05-19 09:52:44 -05:00
|
|
|
}
|