Trait clippy_utils::rustc_ty::layout::PrimitiveExt [−][src]
pub trait PrimitiveExt {
fn to_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
fn to_int_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
}