Update tests for hidden references to mutable static
This commit is contained in:
parent
74cab947f7
commit
3b0ce1bc33
111 changed files with 803 additions and 744 deletions
|
@ -5,6 +5,8 @@
|
|||
|
||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
||||
|
||||
// FIXME(static_mut_refs): this could use an atomic
|
||||
#![allow(static_mut_refs)]
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
||||
|
||||
// FIXME(static_mut_refs): this could use an atomic
|
||||
#![allow(static_mut_refs)]
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
// Test slicing sugar.
|
||||
|
||||
// FIXME(static_mut_refs): this could use an atomic
|
||||
#![allow(static_mut_refs)]
|
||||
|
||||
extern crate core;
|
||||
use core::ops::{Index, IndexMut, Range, RangeTo, RangeFrom, RangeFull};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue