1
Fork 0

Update tests for hidden references to mutable static

This commit is contained in:
Obei Sideg 2024-08-24 06:49:09 +03:00
parent 74cab947f7
commit 3b0ce1bc33
No known key found for this signature in database
GPG key ID: 14BF4B61362D0518
111 changed files with 803 additions and 744 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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};