summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/mir/type_visitable.rs
blob: fd3773f22649061c110847c0b9defa07ac5c952b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `TypeVisitable` implementations for MIR types

use super::*;

impl<'tcx, R: Idx, C: Idx> TypeVisitable<'tcx> for BitMatrix<R, C> {
    fn visit_with<V: TypeVisitor<'tcx>>(&self, _: &mut V) -> ControlFlow<V::BreakTy> {
        ControlFlow::CONTINUE
    }
}

impl<'tcx> TypeVisitable<'tcx> for ConstValue<'tcx> {
    fn visit_with<V: TypeVisitor<'tcx>>(&self, _: &mut V) -> ControlFlow<V::BreakTy> {
        ControlFlow::CONTINUE
    }
}