Skip to content

Commit 2b17525

Browse files
committed
Allow const_item_interior_mutations in tests
1 parent 0ed0b01 commit 2b17525

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ui/consts/issue-17718.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
//@ run-pass
2-
#![allow(dead_code)]
32
//@ aux-build:issue-17718-aux.rs
43

4+
#![allow(dead_code)]
5+
#![allow(const_item_interior_mutations)]
6+
57
extern crate issue_17718_aux as other;
68

79
use std::sync::atomic::{AtomicUsize, Ordering};

0 commit comments

Comments
 (0)