Fix struct field tracking and add tests for it
This commit is contained in:
parent
bfbca6c75c
commit
9766ee0b20
6 changed files with 145 additions and 10 deletions
|
@ -7,9 +7,7 @@ use rustc_data_structures::fx::FxHashMap;
|
|||
use rustc_middle::mir::visit::{MutVisitor, Visitor};
|
||||
use rustc_middle::mir::*;
|
||||
use rustc_middle::ty::{self, Ty, TyCtxt};
|
||||
use rustc_mir_dataflow::value_analysis::{
|
||||
Map, State, TrackElem, ValueAnalysis, ValueOrPlace,
|
||||
};
|
||||
use rustc_mir_dataflow::value_analysis::{Map, State, TrackElem, ValueAnalysis, ValueOrPlace};
|
||||
use rustc_mir_dataflow::{lattice::FlatSet, Analysis, ResultsVisitor, SwitchIntEdgeEffects};
|
||||
use rustc_span::DUMMY_SP;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue