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
|
@ -1,6 +1,9 @@
|
|||
//@ run-pass
|
||||
// Test method calls with self as an argument
|
||||
|
||||
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
|
||||
#![allow(static_mut_refs)]
|
||||
|
||||
static mut COUNT: u64 = 1;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue