Ignore terminators explicitly

This commit is contained in:
Jannis Christopher Köhl 2022-09-02 00:37:38 +02:00
parent 469fb197d0
commit 16dedba1c8
2 changed files with 15 additions and 6 deletions

View file

@ -35,7 +35,6 @@ impl<'tcx> MirPass<'tcx> for DataflowConstProp {
}
}
// FIXME: Consider support for discriminants, mutable references, arrays and slices.
struct ConstAnalysis<'tcx> {
map: Map,
tcx: TyCtxt<'tcx>,