diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-10-25 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-10-31 21:06:29 +0100 |
| commit | 3b7157dc1a8b6dbe8083bdbcb780e490eb6b0f0e (patch) | |
| tree | 489a1398d1b5598d437bbcb047ffeb5429dc325e /compiler/rustc_codegen_cranelift/src/linkage.rs | |
| parent | 4f7612ac1499258025077f1fd05d2f429f9accfb (diff) | |
| download | rust-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
