mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Update unit tests
This commit is contained in:
parent
33e86407fd
commit
436d838ad7
1 changed files with 16 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
error: unknown lint: `unit_expr`
|
||||
--> $DIR/is_unit_expr.rs:4:8
|
||||
|
|
||||
4 | #[warn(unit_expr)]
|
||||
| ^^^^^^^^^
|
||||
|
|
||||
= note: `-D unknown-lints` implied by `-D warnings`
|
||||
|
||||
error: unknown lint: `no_effect`
|
||||
--> $DIR/is_unit_expr.rs:6:9
|
||||
|
|
||||
6 | #[allow(no_effect)]
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
Loading…
Reference in a new issue