Skip to content

Commit fa928c7

Browse files
committed
Allow suspicious_mutation_of_interior_mutable_consts in tests
1 parent 260a13e commit fa928c7

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

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

0 commit comments

Comments
 (0)