add ERROR annotation
This commit is contained in:
parent
297595532c
commit
9d629c641e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue