The variable tmp was never initialized. Calling assume_init when the content is not yet initialized causes immediate undefined behaviour. We also cannot create any intermediate references because they will be subject to the same requirements for references -- the referred object must be valid. Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||