add ERROR annotation

This commit is contained in:
Niko Matsakis 2018-01-19 16:45:54 -05:00 committed by GitHub
parent 297595532c
commit 9d629c641e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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`
}
};
}