diff --git a/external-crates/move/move-prover/interpreter-testsuite/tests/concrete_check/global_basics.move b/external-crates/move/move-prover/interpreter-testsuite/tests/concrete_check/global_basics.move index 33bf47b5eb1bf8..2e76da705e28a9 100644 --- a/external-crates/move/move-prover/interpreter-testsuite/tests/concrete_check/global_basics.move +++ b/external-crates/move/move-prover/interpreter-testsuite/tests/concrete_check/global_basics.move @@ -56,7 +56,7 @@ module 0x2::A { borrow_global(b).f2 } - #[test, expected_failure] + #[test, expected_failure, allow(unused_mut_ref)] public fun borrow_mut_err(): u64 acquires R { let b = @0x2; borrow_global_mut(b).f2 diff --git a/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/scripts/print_stack_trace.move b/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/scripts/print_stack_trace.move index 5b89a53615c1ff..0ffb92560406aa 100644 --- a/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/scripts/print_stack_trace.move +++ b/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/scripts/print_stack_trace.move @@ -3,6 +3,7 @@ use std::debug; use std::vector; use 0x2::N; +#[allow(unused_mut_ref)] fun print_stack_trace() { let v = vector::empty(); vector::push_back(&mut v, true); diff --git a/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/sources/N.move b/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/sources/N.move index 943b47922ffa5c..24f61a218d6355 100644 --- a/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/sources/N.move +++ b/external-crates/move/tools/move-cli/tests/sandbox_tests/print_stack_trace/sources/N.move @@ -1,5 +1,5 @@ address 0x2 { -#[allow(unused_type_parameter)] +#[allow(unused_type_parameter, unused_mut_ref)] module N { use 0x2::M;