mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Update unit tests
This commit is contained in:
parent
33e86407fd
commit
436d838ad7
@ -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 New Issue
Block a user