From 837b550238aa671a591ccf282dddeab29cadb206 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:42 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/statics/issue-91050-1.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/ui/statics/issue-91050-1.rs') diff --git a/tests/ui/statics/issue-91050-1.rs b/tests/ui/statics/issue-91050-1.rs index 403a41462..c6268dba5 100644 --- a/tests/ui/statics/issue-91050-1.rs +++ b/tests/ui/statics/issue-91050-1.rs @@ -12,6 +12,8 @@ // // In regular builds, the bad cast was UB, like "Invalid LLVMRustVisibility value!" +#![allow(dropping_copy_types)] + pub mod before { #[no_mangle] pub static GLOBAL1: [u8; 1] = [1]; -- cgit v1.2.3