File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ pub use generics::*;
3131use rustc_ast as ast;
3232use rustc_ast:: node_id:: NodeMap ;
3333use rustc_attr as attr;
34- use rustc_data_structures:: fingerprint:: Fingerprint ;
3534use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap , FxIndexSet } ;
3635use rustc_data_structures:: intern:: Interned ;
3736use rustc_data_structures:: stable_hasher:: { HashStable , StableHasher } ;
@@ -453,18 +452,6 @@ pub struct CReaderCacheKey {
453452#[ rustc_pass_by_value]
454453pub struct Ty < ' tcx > ( Interned < ' tcx , WithCachedTypeInfo < TyKind < ' tcx > > > ) ;
455454
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-
468455impl ty:: EarlyBoundRegion {
469456 /// Does this early bound region have a name? Early bound regions normally
470457 /// always have names except when using anonymous lifetimes (`'_`).
You can’t perform that action at this time.
0 commit comments