Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3b0ce1b

Browse files
committedSep 13, 2024
Update tests for hidden references to mutable static
1 parent 74cab94 commit 3b0ce1b

File tree

111 files changed

+803
-744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+803
-744
lines changed
 

‎library/alloc/src/collections/linked_list/tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
2+
#![allow(static_mut_refs)]
3+
14
use std::panic::{catch_unwind, AssertUnwindSafe};
25
use std::thread;
36

‎library/alloc/src/collections/vec_deque/tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
2+
#![allow(static_mut_refs)]
3+
14
use core::iter::TrustedLen;
25

36
use super::*;

0 commit comments

Comments
 (0)