Skip to content

Commit 630020b

Browse files
committed
Allow interior_mutable_const_item_mutations in tests
1 parent f80c10c commit 630020b

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(interior_mutable_const_item_mutations)]
6+
57
extern crate issue_17718_aux as other;
68

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

0 commit comments

Comments
 (0)