summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-06-21 17:11:48 +0200
committerGitHub <noreply@github.com>2024-06-21 17:11:48 +0200
commit42b5c0a1f7d4bb5c58a1535092d29c1b49df41de (patch)
treeeffdf545de08f9073ced4b76f44f6e499d2ec975
parentd140d49b6135119a20be4689cf8bb6b13fdaa69d (diff)
parent1ede3a82e9df4a0cd93110e49722701946b41e11 (diff)
Merge pull request #1997 from jphilis/main
chore: update error message to error message given by rustc (error[E0596]) in hint
-rw-r--r--info.toml2
1 files changed, 1 insertions, 1 deletions
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