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