diff options
Diffstat (limited to 'tests/ui/consts/const_let_assign2.rs')
| -rw-r--r-- | tests/ui/consts/const_let_assign2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const_let_assign2.rs b/tests/ui/consts/const_let_assign2.rs index f239507d245..e8ebba7b208 100644 --- a/tests/ui/consts/const_let_assign2.rs +++ b/tests/ui/consts/const_let_assign2.rs @@ -16,7 +16,7 @@ static mut BB: AA = AA::new(); fn main() { let ptr = unsafe { &mut BB }; - //~^ WARN mutable reference of mutable static is discouraged [static_mut_ref] + //~^ WARN mutable reference to mutable static is discouraged [static_mut_refs] for a in ptr.data.iter() { println!("{}", a); } |
