diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-08-12 19:23:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 13:23:54 +0200 |
commit | 4c892231714fb64942b5014df0424de8fb732b73 (patch) | |
tree | 5e03278b044233e86fc097e646653742404db9fd /tests/system/tensuremove2.nim | |
parent | f642c9dbf112eb3a6fa993c8f1eee8a454c1c8ac (diff) | |
download | Nim-4c892231714fb64942b5014df0424de8fb732b73.tar.gz |
relax the parameter of `ensureMove`; allow let statements (#22466)
* relax the parameter of `ensureMove`; allow let statements * fixes the test
Diffstat (limited to 'tests/system/tensuremove2.nim')
-rw-r--r-- | tests/system/tensuremove2.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/tensuremove2.nim b/tests/system/tensuremove2.nim index 1fcbc1c0f..39bbeb22e 100644 --- a/tests/system/tensuremove2.nim +++ b/tests/system/tensuremove2.nim @@ -1,5 +1,5 @@ discard """ - errormsg: "'if true: s else: String()' is not a mutable location; it cannot be moved" + errormsg: "Nested expressions cannot be moved: 'if true: s else: String()'" """ type |