about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/linkage.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-01 01:27:15 +0000
committerbors <bors@rust-lang.org>2020-11-01 01:27:15 +0000
commita6403b0f04b58a35cb9f3e544b2847ee09bcf3a4 (patch)
tree489a1398d1b5598d437bbcb047ffeb5429dc325e /compiler/rustc_codegen_cranelift/src/linkage.rs
parent4f7612ac1499258025077f1fd05d2f429f9accfb (diff)
parent3b7157dc1a8b6dbe8083bdbcb780e490eb6b0f0e (diff)
downloadrust-a6403b0f04b58a35cb9f3e544b2847ee09bcf3a4.tar.gz
rust-a6403b0f04b58a35cb9f3e544b2847ee09bcf3a4.zip
Auto merge of #78147 - tmiasko:validate-storage, r=jonas-schievink
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.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/linkage.rs')
0 files changed, 0 insertions, 0 deletions