about summary refs log tree commit diff
path: root/tests/ui/unsafe
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-22 18:22:32 +0000
committerbors <bors@rust-lang.org>2024-01-22 18:22:32 +0000
commitd5fd0997291ca0135401a39dff25c8a9c13b8961 (patch)
tree3fd6447ffcb2d9dc5d5aad5fc7c921ae173a5476 /tests/ui/unsafe
parent021861aea8de20c76c7411eb8ada7e8235e3d9b5 (diff)
parent0b0f0be4198de16f3a23f05e824b3a054dda1355 (diff)
downloadrust-d5fd0997291ca0135401a39dff25c8a9c13b8961.tar.gz
rust-d5fd0997291ca0135401a39dff25c8a9c13b8961.zip
Auto merge of #120242 - matthiaskrgr:rollup-a93yj3i, r=matthiaskrgr
Rollup of 10 pull requests

Successful merges:

 - #117910 (Refactor uses of `objc_msgSend` to no longer have clashing definitions)
 - #118639 (Undeprecate lint `unstable_features` and make use of it in the compiler)
 - #119801 (Fix deallocation with wrong allocator in (A)Rc::from_box_in)
 - #120058 (bootstrap: improvements for compiler builds)
 - #120059 (Make generic const type mismatches not hide trait impls from the trait solver)
 - #120097 (Report unreachable subpatterns consistently)
 - #120137 (Validate AggregateKind types in MIR)
 - #120164 (`maybe_lint_impl_trait`: separate `is_downgradable` from `is_object_safe`)
 - #120181 (Allow any `const` expression blocks in `thread_local!`)
 - #120218 (rustfmt: Check that a token can begin a nonterminal kind before parsing it as a macro arg)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/ui/unsafe')
-rw-r--r--tests/ui/unsafe/union_destructure.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/unsafe/union_destructure.rs b/tests/ui/unsafe/union_destructure.rs
index d0cf8640eaa..bb75dbf0997 100644
--- a/tests/ui/unsafe/union_destructure.rs
+++ b/tests/ui/unsafe/union_destructure.rs
@@ -1,4 +1,5 @@
 // run-pass
+#![allow(unreachable_patterns)]
 
 #[derive(Copy, Clone)]
 #[allow(dead_code)]