diff --git a/src/test/ui/issue-29723.rs b/src/test/ui/issue-29723.rs index 248e44dcc02..54785accdb7 100644 --- a/src/test/ui/issue-29723.rs +++ b/src/test/ui/issue-29723.rs @@ -20,6 +20,7 @@ fn main() { // This should trigger an error, // s could have been moved from. s + //~ ERROR use of moved value: `s` } }; }