mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Don't rustfmt author test
Co-Authored-By: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
f98e4bd33b
commit
3908d86f8a
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#![feature(stmt_expr_attributes)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
fn main() {
|
||||
#[clippy::author]
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: statement with no effect
|
||||
--> $DIR/blocks.rs:13:5
|
||||
--> $DIR/blocks.rs:14:5
|
||||
|
|
||||
LL | -x;
|
||||
| ^^^
|
||||
|
|
Loading…
Reference in a new issue