]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #78147 - tmiasko:validate-storage, r=jonas-schievink
authorbors <bors@rust-lang.org>
Sun, 1 Nov 2020 01:27:15 +0000 (01:27 +0000)
committerbors <bors@rust-lang.org>
Sun, 1 Nov 2020 01:27:15 +0000 (01:27 +0000)
Assert that locals have storage when used

The validator in visit_local asserts that local has a stroage when used,
but visit_local is never called so validation is ineffective.

Use super_statement and super_terminator to ensure that locals are visited.


Trivial merge