]> git.lizzy.rs Git - rust.git/commitdiff
add ERROR annotation
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 19 Jan 2018 21:45:54 +0000 (16:45 -0500)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2018 21:45:54 +0000 (16:45 -0500)
src/test/ui/issue-29723.rs

index 248e44dcc02333ff56c99a1823f876cb2fcb6f4e..54785accdb7c016884701bbc77b5a49d6e195585 100644 (file)
@@ -20,6 +20,7 @@ fn main() {
             // This should trigger an error,
             // s could have been moved from.
             s
+            //~ ERROR use of moved value: `s`
         }
     };
 }