add ERROR annotation
This commit is contained in:
parent
297595532c
commit
9d629c641e
@ -20,6 +20,7 @@ fn main() {
|
||||
// This should trigger an error,
|
||||
// s could have been moved from.
|
||||
s
|
||||
//~ ERROR use of moved value: `s`
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user