From 1ede3a82e9df4a0cd93110e49722701946b41e11 Mon Sep 17 00:00:00 2001 From: jphilis <117293564+jphilis@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:55:34 +0200 Subject: [PATCH] chore: update error message to error message given by rustc. error[E0596] --- info.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.toml b/info.toml index e8c19bf..ba9b6e3 100644 --- a/info.toml +++ b/info.toml @@ -318,7 +318,7 @@ name = "move_semantics1" path = "exercises/06_move_semantics/move_semantics1.rs" mode = "test" hint = """ -So you've got the "cannot borrow immutable local variable `vec` as mutable" +So you've got the "cannot borrow `vec` as mutable, as it is not declared as mutable" error on the line where we push an element to the vector, right? The fix for this is going to be adding one keyword, and the addition is NOT on