From c48dce11871a5cfe2c0475ea35c5086436d5f32e Mon Sep 17 00:00:00 2001 From: Urgau Date: Sun, 2 Nov 2025 18:13:14 +0100 Subject: [PATCH] Allow `const_item_interior_mutations` in tests --- tests/ui/consts/issue-17718.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/ui/consts/issue-17718.rs b/tests/ui/consts/issue-17718.rs index b6c676886c10..33e2d791840e 100644 --- a/tests/ui/consts/issue-17718.rs +++ b/tests/ui/consts/issue-17718.rs @@ -1,7 +1,9 @@ //@ run-pass -#![allow(dead_code)] //@ aux-build:issue-17718-aux.rs +#![allow(dead_code)] +#![allow(const_item_interior_mutations)] + extern crate issue_17718_aux as other; use std::sync::atomic::{AtomicUsize, Ordering};