about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/linkage.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-25 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-31 21:06:29 +0100
commit3b7157dc1a8b6dbe8083bdbcb780e490eb6b0f0e (patch)
tree489a1398d1b5598d437bbcb047ffeb5429dc325e /compiler/rustc_codegen_cranelift/src/linkage.rs
parent4f7612ac1499258025077f1fd05d2f429f9accfb (diff)
downloadrust-3b7157dc1a8b6dbe8083bdbcb780e490eb6b0f0e.tar.gz
rust-3b7157dc1a8b6dbe8083bdbcb780e490eb6b0f0e.zip
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