about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/fast_reject.rs
blob: 2945a0be424f8c7c2f5421a67599859844d816a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use rustc_hir::def_id::DefId;
pub use rustc_type_ir::fast_reject::*;

use super::TyCtxt;

pub type DeepRejectCtxt<
    'tcx,
    const INSTANTIATE_LHS_WITH_INFER: bool,
    const INSTANTIATE_RHS_WITH_INFER: bool,
> = rustc_type_ir::fast_reject::DeepRejectCtxt<
    TyCtxt<'tcx>,
    INSTANTIATE_LHS_WITH_INFER,
    INSTANTIATE_RHS_WITH_INFER,
>;

pub type SimplifiedType = rustc_type_ir::fast_reject::SimplifiedType<DefId>;