mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
3908d86f8a
Co-Authored-By: Philipp Krones <hello@philkrones.com>
16 lines
172 B
Rust
16 lines
172 B
Rust
#![feature(stmt_expr_attributes)]
|
|
|
|
#[rustfmt::skip]
|
|
fn main() {
|
|
#[clippy::author]
|
|
{
|
|
;;;;
|
|
}
|
|
}
|
|
|
|
#[clippy::author]
|
|
fn foo() {
|
|
let x = 42i32;
|
|
-x;
|
|
}
|