diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/lint/lint-attr-everywhere-late.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/lint/lint-attr-everywhere-late.rs b/tests/ui/lint/lint-attr-everywhere-late.rs index a24355bab..c3acdeda4 100644 --- a/tests/ui/lint/lint-attr-everywhere-late.rs +++ b/tests/ui/lint/lint-attr-everywhere-late.rs @@ -172,7 +172,7 @@ fn expressions() { #![deny(enum_intrinsics_non_enums)] discriminant::<i32>(&123); //~ ERROR the return value of } - let block_tail = { + let block_tail: () = { #[deny(enum_intrinsics_non_enums)] discriminant::<i32>(&123); //~ ERROR the return value of }; |