File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -453,18 +453,6 @@ pub struct CReaderCacheKey {
453
453
#[ rustc_pass_by_value]
454
454
pub struct Ty < ' tcx > ( Interned < ' tcx , WithCachedTypeInfo < TyKind < ' tcx > > > ) ;
455
455
456
- impl < ' tcx > TyCtxt < ' tcx > {
457
- /// A "bool" type used in rustc_mir_transform unit tests when we
458
- /// have not spun up a TyCtxt.
459
- pub const BOOL_TY_FOR_UNIT_TESTING : Ty < ' tcx > =
460
- Ty ( Interned :: new_unchecked ( & WithCachedTypeInfo {
461
- internee : ty:: Bool ,
462
- stable_hash : Fingerprint :: ZERO ,
463
- flags : TypeFlags :: empty ( ) ,
464
- outer_exclusive_binder : DebruijnIndex :: from_usize ( 0 ) ,
465
- } ) ) ;
466
- }
467
-
468
456
impl ty:: EarlyBoundRegion {
469
457
/// Does this early bound region have a name? Early bound regions normally
470
458
/// always have names except when using anonymous lifetimes (`'_`).
You can’t perform that action at this time.
0 commit comments