rust/compiler/rustc_mir/src
Tomasz Miąsko 3b7157dc1a 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.
2020-10-31 21:06:29 +01:00
..
borrow_check Use unsized_feature_enabled helper function 2020-10-27 14:45:42 -03:00
const_eval interning cleanup: we no longer need to distinguish Const and ConstInner; we no longer need the ignore_interior_mut_in_const hack 2020-10-26 08:56:54 +01:00
dataflow Fix typos 2020-10-28 19:32:28 +01:00
interpret Remove implicit Continue type 2020-10-30 12:27:47 +01:00
monomorphize Remove implicit Continue type 2020-10-30 12:27:47 +01:00
transform Assert that locals have storage when used 2020-10-31 21:06:29 +01:00
util Remove implicit Continue type 2020-10-30 12:27:47 +01:00
lib.rs TypeVisitor: use ControlFlow in rustc_{mir,privacy,traits,typeck} 2020-10-30 12:27:44 +01:00
shim.rs rustc_mir: support MIR-inlining #[track_caller] functions. 2020-10-21 04:43:56 +03:00