rustup; better comment in storage_dead_dangling test
This commit is contained in:
parent
12dac5c0f7
commit
b4b048cc86
2 changed files with 3 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
36f1f04f18b89ba4a999bcfd6584663fd6fc1c5d
|
||||
2b8fbe6b0b6db7960828bd2c9a50e52c9a5d0aef
|
||||
|
|
|
|||
|
|
@ -18,5 +18,7 @@ fn main() {
|
|||
fill(&mut x);
|
||||
_y = x;
|
||||
}
|
||||
// Now we use a pointer to `x` which is no longer in scope, and thus dead (even though the
|
||||
// `main` stack frame still exists).
|
||||
evil();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue