Skip to content

Commit 17cdd35

Browse files
committed
rustc: replace TyCtxt<'tcx, 'gcx, 'tcx> with TyCtxt<'gcx, 'tcx>.
1 parent 2441253 commit 17cdd35

File tree

295 files changed

+1433
-1433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+1433
-1433
lines changed

src/librustc/cfg/construct.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::hir::{self, PatKind};
88
use crate::hir::def_id::DefId;
99

1010
struct CFGBuilder<'a, 'tcx: 'a> {
11-
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
11+
tcx: TyCtxt<'tcx, 'tcx>,
1212
owner_def_id: DefId,
1313
tables: &'a ty::TypeckTables<'tcx>,
1414
graph: CFGGraph,
@@ -30,7 +30,7 @@ struct LoopScope {
3030
break_index: CFGIndex, // where to go on a `break`
3131
}
3232

33-
pub fn construct<'tcx>(tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
33+
pub fn construct<'tcx>(tcx: TyCtxt<'tcx, 'tcx>,
3434
body: &hir::Body) -> CFG {
3535
let mut graph = graph::Graph::new();
3636
let entry = graph.add_node(CFGNodeData::Entry);

src/librustc/cfg/graphviz.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub type Node<'a> = (cfg::CFGIndex, &'a cfg::CFGNode);
1212
pub type Edge<'a> = &'a cfg::CFGEdge;
1313

1414
pub struct LabelledCFG<'a, 'tcx: 'a> {
15-
pub tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
15+
pub tcx: TyCtxt<'tcx, 'tcx>,
1616
pub cfg: &'a cfg::CFG,
1717
pub name: String,
1818
/// `labelled_edges` controls whether we emit labels on the edges

src/librustc/cfg/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub type CFGNode = graph::Node<CFGNodeData>;
4949
pub type CFGEdge = graph::Edge<CFGEdgeData>;
5050

5151
impl CFG {
52-
pub fn new<'tcx>(tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
52+
pub fn new<'tcx>(tcx: TyCtxt<'tcx, 'tcx>,
5353
body: &hir::Body) -> CFG {
5454
construct::construct(tcx, body)
5555
}

src/librustc/dep_graph/dep_node.rs

+20-20
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ macro_rules! define_dep_nodes {
204204
impl DepNode {
205205
#[allow(unreachable_code, non_snake_case)]
206206
#[inline(always)]
207-
pub fn new<'a, 'gcx, 'tcx>(tcx: TyCtxt<'tcx, 'gcx, 'tcx>,
207+
pub fn new<'a, 'gcx, 'tcx>(tcx: TyCtxt<'gcx, 'tcx>,
208208
dep: DepConstructor<'gcx>)
209209
-> DepNode
210210
where 'gcx: 'a + 'tcx,
@@ -307,7 +307,7 @@ macro_rules! define_dep_nodes {
307307
/// refers to something from the previous compilation session that
308308
/// has been removed.
309309
#[inline]
310-
pub fn extract_def_id(&self, tcx: TyCtxt<'_, '_, '_>) -> Option<DefId> {
310+
pub fn extract_def_id(&self, tcx: TyCtxt<'_, '_>) -> Option<DefId> {
311311
if self.kind.can_reconstruct_query_key() {
312312
let def_path_hash = DefPathHash(self.hash);
313313
tcx.def_path_hash_to_def_id.as_ref()?
@@ -400,7 +400,7 @@ impl DefPathHash {
400400

401401
impl DefId {
402402
#[inline(always)]
403-
pub fn to_dep_node(self, tcx: TyCtxt<'_, '_, '_>, kind: DepKind) -> DepNode {
403+
pub fn to_dep_node(self, tcx: TyCtxt<'_, '_>, kind: DepKind) -> DepNode {
404404
DepNode::from_def_path_hash(kind, tcx.def_path_hash(self))
405405
}
406406
}
@@ -442,23 +442,23 @@ rustc_dep_node_append!([define_dep_nodes!][ <'tcx>
442442
]);
443443

444444
pub trait RecoverKey<'tcx>: Sized {
445-
fn recover(tcx: TyCtxt<'tcx, 'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self>;
445+
fn recover(tcx: TyCtxt<'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self>;
446446
}
447447

448448
impl RecoverKey<'tcx> for CrateNum {
449-
fn recover(tcx: TyCtxt<'tcx, 'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
449+
fn recover(tcx: TyCtxt<'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
450450
dep_node.extract_def_id(tcx).map(|id| id.krate)
451451
}
452452
}
453453

454454
impl RecoverKey<'tcx> for DefId {
455-
fn recover(tcx: TyCtxt<'tcx, 'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
455+
fn recover(tcx: TyCtxt<'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
456456
dep_node.extract_def_id(tcx)
457457
}
458458
}
459459

460460
impl RecoverKey<'tcx> for DefIndex {
461-
fn recover(tcx: TyCtxt<'tcx, 'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
461+
fn recover(tcx: TyCtxt<'tcx, 'tcx>, dep_node: &DepNode) -> Option<Self> {
462462
dep_node.extract_def_id(tcx).map(|id| id.index)
463463
}
464464
}
@@ -470,11 +470,11 @@ trait DepNodeParams<'gcx: 'tcx, 'tcx>: fmt::Debug {
470470
/// Fingerprint to be used in DepNode.
471471
/// Not all DepNodeParams support being turned into a Fingerprint (they
472472
/// don't need to if the corresponding DepNode is anonymous).
473-
fn to_fingerprint(&self, _: TyCtxt<'tcx, 'gcx, 'tcx>) -> Fingerprint {
473+
fn to_fingerprint(&self, _: TyCtxt<'gcx, 'tcx>) -> Fingerprint {
474474
panic!("Not implemented. Accidentally called on anonymous node?")
475475
}
476476

477-
fn to_debug_str(&self, _: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
477+
fn to_debug_str(&self, _: TyCtxt<'gcx, 'tcx>) -> String {
478478
format!("{:?}", self)
479479
}
480480
}
@@ -484,7 +484,7 @@ impl<'gcx: 'tcx, 'tcx, T> DepNodeParams<'gcx, 'tcx> for T
484484
{
485485
default const CAN_RECONSTRUCT_QUERY_KEY: bool = false;
486486

487-
default fn to_fingerprint(&self, tcx: TyCtxt<'tcx, 'gcx, 'tcx>) -> Fingerprint {
487+
default fn to_fingerprint(&self, tcx: TyCtxt<'gcx, 'tcx>) -> Fingerprint {
488488
let mut hcx = tcx.create_stable_hashing_context();
489489
let mut hasher = StableHasher::new();
490490

@@ -493,47 +493,47 @@ impl<'gcx: 'tcx, 'tcx, T> DepNodeParams<'gcx, 'tcx> for T
493493
hasher.finish()
494494
}
495495

496-
default fn to_debug_str(&self, _: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
496+
default fn to_debug_str(&self, _: TyCtxt<'gcx, 'tcx>) -> String {
497497
format!("{:?}", *self)
498498
}
499499
}
500500

501501
impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for DefId {
502502
const CAN_RECONSTRUCT_QUERY_KEY: bool = true;
503503

504-
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_, '_>) -> Fingerprint {
504+
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_>) -> Fingerprint {
505505
tcx.def_path_hash(*self).0
506506
}
507507

508-
fn to_debug_str(&self, tcx: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
508+
fn to_debug_str(&self, tcx: TyCtxt<'gcx, 'tcx>) -> String {
509509
tcx.def_path_str(*self)
510510
}
511511
}
512512

513513
impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for DefIndex {
514514
const CAN_RECONSTRUCT_QUERY_KEY: bool = true;
515515

516-
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_, '_>) -> Fingerprint {
516+
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_>) -> Fingerprint {
517517
tcx.hir().definitions().def_path_hash(*self).0
518518
}
519519

520-
fn to_debug_str(&self, tcx: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
520+
fn to_debug_str(&self, tcx: TyCtxt<'gcx, 'tcx>) -> String {
521521
tcx.def_path_str(DefId::local(*self))
522522
}
523523
}
524524

525525
impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for CrateNum {
526526
const CAN_RECONSTRUCT_QUERY_KEY: bool = true;
527527

528-
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_, '_>) -> Fingerprint {
528+
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_>) -> Fingerprint {
529529
let def_id = DefId {
530530
krate: *self,
531531
index: CRATE_DEF_INDEX,
532532
};
533533
tcx.def_path_hash(def_id).0
534534
}
535535

536-
fn to_debug_str(&self, tcx: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
536+
fn to_debug_str(&self, tcx: TyCtxt<'gcx, 'tcx>) -> String {
537537
tcx.crate_name(*self).as_str().to_string()
538538
}
539539
}
@@ -544,7 +544,7 @@ impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for (DefId, DefId) {
544544
// We actually would not need to specialize the implementation of this
545545
// method but it's faster to combine the hashes than to instantiate a full
546546
// hashing context and stable-hashing state.
547-
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_, '_>) -> Fingerprint {
547+
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_>) -> Fingerprint {
548548
let (def_id_0, def_id_1) = *self;
549549

550550
let def_path_hash_0 = tcx.def_path_hash(def_id_0);
@@ -553,7 +553,7 @@ impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for (DefId, DefId) {
553553
def_path_hash_0.0.combine(def_path_hash_1.0)
554554
}
555555

556-
fn to_debug_str(&self, tcx: TyCtxt<'tcx, 'gcx, 'tcx>) -> String {
556+
fn to_debug_str(&self, tcx: TyCtxt<'gcx, 'tcx>) -> String {
557557
let (def_id_0, def_id_1) = *self;
558558

559559
format!("({}, {})",
@@ -568,7 +568,7 @@ impl<'gcx: 'tcx, 'tcx> DepNodeParams<'gcx, 'tcx> for HirId {
568568
// We actually would not need to specialize the implementation of this
569569
// method but it's faster to combine the hashes than to instantiate a full
570570
// hashing context and stable-hashing state.
571-
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_, '_>) -> Fingerprint {
571+
fn to_fingerprint(&self, tcx: TyCtxt<'_, '_>) -> Fingerprint {
572572
let HirId {
573573
owner,
574574
local_id,

src/librustc/dep_graph/graph.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ impl DepGraph {
558558
/// a node index can be found for that node.
559559
pub fn try_mark_green_and_read(
560560
&self,
561-
tcx: TyCtxt<'_, '_, '_>,
561+
tcx: TyCtxt<'_, '_>,
562562
dep_node: &DepNode
563563
) -> Option<(SerializedDepNodeIndex, DepNodeIndex)> {
564564
self.try_mark_green(tcx, dep_node).map(|(prev_index, dep_node_index)| {
@@ -570,7 +570,7 @@ impl DepGraph {
570570

571571
pub fn try_mark_green(
572572
&self,
573-
tcx: TyCtxt<'_, '_, '_>,
573+
tcx: TyCtxt<'_, '_>,
574574
dep_node: &DepNode
575575
) -> Option<(SerializedDepNodeIndex, DepNodeIndex)> {
576576
debug_assert!(!dep_node.kind.is_eval_always());
@@ -604,7 +604,7 @@ impl DepGraph {
604604
/// Try to mark a dep-node which existed in the previous compilation session as green.
605605
fn try_mark_previous_green<'tcx>(
606606
&self,
607-
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
607+
tcx: TyCtxt<'tcx, 'tcx>,
608608
data: &DepGraphData,
609609
prev_dep_node_index: SerializedDepNodeIndex,
610610
dep_node: &DepNode
@@ -791,7 +791,7 @@ impl DepGraph {
791791
#[inline(never)]
792792
fn emit_diagnostics<'tcx>(
793793
&self,
794-
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
794+
tcx: TyCtxt<'tcx, 'tcx>,
795795
data: &DepGraphData,
796796
dep_node_index: DepNodeIndex,
797797
did_allocation: bool,
@@ -842,7 +842,7 @@ impl DepGraph {
842842
//
843843
// This method will only load queries that will end up in the disk cache.
844844
// Other queries will not be executed.
845-
pub fn exec_cache_promotions<'tcx>(&self, tcx: TyCtxt<'tcx, 'tcx, 'tcx>) {
845+
pub fn exec_cache_promotions<'tcx>(&self, tcx: TyCtxt<'tcx, 'tcx>) {
846846
let green_nodes: Vec<DepNode> = {
847847
let data = self.data.as_ref().unwrap();
848848
data.colors.values.indices().filter_map(|prev_index| {

src/librustc/dep_graph/safe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl DepGraphSafe for DefId {
3333

3434
/// The type context itself can be used to access all kinds of tracked
3535
/// state, but those accesses should always generate read events.
36-
impl<'gcx, 'tcx> DepGraphSafe for TyCtxt<'tcx, 'gcx, 'tcx> {
36+
impl<'gcx, 'tcx> DepGraphSafe for TyCtxt<'gcx, 'tcx> {
3737
}
3838

3939
/// Tuples make it easy to build up state.

src/librustc/hir/check_attr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl Target {
8888
}
8989

9090
struct CheckAttrVisitor<'tcx> {
91-
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
91+
tcx: TyCtxt<'tcx, 'tcx>,
9292
}
9393

9494
impl CheckAttrVisitor<'tcx> {
@@ -347,7 +347,7 @@ fn is_c_like_enum(item: &hir::Item) -> bool {
347347
}
348348
}
349349

350-
fn check_mod_attrs<'tcx>(tcx: TyCtxt<'tcx, 'tcx, 'tcx>, module_def_id: DefId) {
350+
fn check_mod_attrs<'tcx>(tcx: TyCtxt<'tcx, 'tcx>, module_def_id: DefId) {
351351
tcx.hir().visit_item_likes_in_module(
352352
module_def_id,
353353
&mut CheckAttrVisitor { tcx }.as_deep_visitor()

src/librustc/hir/def_id.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl DefId {
177177
LocalDefId::from_def_id(self)
178178
}
179179

180-
pub fn describe_as_module(&self, tcx: TyCtxt<'_, '_, '_>) -> String {
180+
pub fn describe_as_module(&self, tcx: TyCtxt<'_, '_>) -> String {
181181
if self.is_local() && self.index == CRATE_DEF_INDEX {
182182
format!("top-level module")
183183
} else {

src/librustc/hir/upvars.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Visitor<'tcx> for LocalCollector {
5555
}
5656

5757
struct CaptureCollector<'a, 'tcx> {
58-
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
58+
tcx: TyCtxt<'tcx, 'tcx>,
5959
locals: &'a FxHashSet<HirId>,
6060
upvars: FxIndexMap<HirId, hir::Upvar>,
6161
}

src/librustc/ich/hcx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ for &'b mut T {
205205
}
206206
}
207207

208-
impl StableHashingContextProvider<'lcx> for TyCtxt<'lcx, 'gcx, 'lcx> {
208+
impl StableHashingContextProvider<'lcx> for TyCtxt<'gcx, 'lcx> {
209209
fn get_stable_hashing_context(&self) -> StableHashingContext<'lcx> {
210210
(*self).create_stable_hashing_context()
211211
}

src/librustc/infer/canonical/canonicalizer.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ impl CanonicalizeRegionMode for CanonicalizeFreeRegionsOtherThanStatic {
277277

278278
struct Canonicalizer<'cx, 'gcx: 'tcx, 'tcx: 'cx> {
279279
infcx: Option<&'cx InferCtxt<'cx, 'gcx, 'tcx>>,
280-
tcx: TyCtxt<'tcx, 'gcx, 'tcx>,
280+
tcx: TyCtxt<'gcx, 'tcx>,
281281
variables: SmallVec<[CanonicalVarInfo; 8]>,
282282
query_state: &'cx mut OriginalQueryValues<'tcx>,
283283
// Note that indices is only used once `var_values` is big enough to be
@@ -290,7 +290,7 @@ struct Canonicalizer<'cx, 'gcx: 'tcx, 'tcx: 'cx> {
290290
}
291291

292292
impl<'cx, 'gcx, 'tcx> TypeFolder<'gcx, 'tcx> for Canonicalizer<'cx, 'gcx, 'tcx> {
293-
fn tcx<'b>(&'b self) -> TyCtxt<'tcx, 'gcx, 'tcx> {
293+
fn tcx<'b>(&'b self) -> TyCtxt<'gcx, 'tcx> {
294294
self.tcx
295295
}
296296

@@ -501,7 +501,7 @@ impl<'cx, 'gcx, 'tcx> Canonicalizer<'cx, 'gcx, 'tcx> {
501501
fn canonicalize<V>(
502502
value: &V,
503503
infcx: Option<&InferCtxt<'_, 'gcx, 'tcx>>,
504-
tcx: TyCtxt<'tcx, 'gcx, 'tcx>,
504+
tcx: TyCtxt<'gcx, 'tcx>,
505505
canonicalize_region_mode: &dyn CanonicalizeRegionMode,
506506
query_state: &mut OriginalQueryValues<'tcx>,
507507
) -> Canonicalized<'gcx, V>

src/librustc/infer/canonical/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ impl<'tcx> CanonicalVarValues<'tcx> {
478478
/// `self.var_values == [Type(u32), Lifetime('a), Type(u64)]`
479479
/// we'll return a substitution `subst` with:
480480
/// `subst.var_values == [Type(^0), Lifetime(^1), Type(^2)]`.
481-
pub fn make_identity(&self, tcx: TyCtxt<'tcx, 'tcx, 'tcx>) -> Self {
481+
pub fn make_identity(&self, tcx: TyCtxt<'tcx, 'tcx>) -> Self {
482482
use crate::ty::subst::UnpackedKind;
483483

484484
CanonicalVarValues {

src/librustc/infer/canonical/query_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> {
647647
/// Given the region obligations and constraints scraped from the infcx,
648648
/// creates query region constraints.
649649
pub fn make_query_outlives<'tcx>(
650-
tcx: TyCtxt<'tcx, '_, 'tcx>,
650+
tcx: TyCtxt<'_, 'tcx>,
651651
outlives_obligations: impl Iterator<Item = (Ty<'tcx>, ty::Region<'tcx>)>,
652652
region_constraints: &RegionConstraintData<'tcx>,
653653
) -> Vec<QueryRegionConstraint<'tcx>> {

src/librustc/infer/canonical/substitute.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl<'tcx, V> Canonical<'tcx, V> {
1616
/// with the value given in `var_values`.
1717
pub fn substitute(
1818
&self,
19-
tcx: TyCtxt<'tcx, '_, 'tcx>,
19+
tcx: TyCtxt<'_, 'tcx>,
2020
var_values: &CanonicalVarValues<'tcx>,
2121
) -> V
2222
where
@@ -33,7 +33,7 @@ impl<'tcx, V> Canonical<'tcx, V> {
3333
/// V, replacing each of the canonical variables.
3434
pub fn substitute_projected<T>(
3535
&self,
36-
tcx: TyCtxt<'tcx, '_, 'tcx>,
36+
tcx: TyCtxt<'_, 'tcx>,
3737
var_values: &CanonicalVarValues<'tcx>,
3838
projection_fn: impl FnOnce(&V) -> &T,
3939
) -> T
@@ -50,7 +50,7 @@ impl<'tcx, V> Canonical<'tcx, V> {
5050
/// must be values for the set of canonical variables that appear in
5151
/// `value`.
5252
pub(super) fn substitute_value<'a, 'tcx, T>(
53-
tcx: TyCtxt<'tcx, '_, 'tcx>,
53+
tcx: TyCtxt<'_, 'tcx>,
5454
var_values: &CanonicalVarValues<'tcx>,
5555
value: &'a T,
5656
) -> T

src/librustc/infer/combine.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<'infcx, 'gcx, 'tcx> InferCtxt<'infcx, 'gcx, 'tcx> {
207207
}
208208

209209
impl<'infcx, 'gcx, 'tcx> CombineFields<'infcx, 'gcx, 'tcx> {
210-
pub fn tcx(&self) -> TyCtxt<'tcx, 'gcx, 'tcx> {
210+
pub fn tcx(&self) -> TyCtxt<'gcx, 'tcx> {
211211
self.infcx.tcx
212212
}
213213

@@ -414,7 +414,7 @@ struct Generalization<'tcx> {
414414
}
415415

416416
impl TypeRelation<'gcx, 'tcx> for Generalizer<'_, 'gcx, 'tcx> {
417-
fn tcx(&self) -> TyCtxt<'tcx, 'gcx, 'tcx> {
417+
fn tcx(&self) -> TyCtxt<'gcx, 'tcx> {
418418
self.infcx.tcx
419419
}
420420

src/librustc/infer/equate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl<'combine, 'infcx, 'gcx, 'tcx> Equate<'combine, 'infcx, 'gcx, 'tcx> {
2727
impl TypeRelation<'gcx, 'tcx> for Equate<'combine, 'infcx, 'gcx, 'tcx> {
2828
fn tag(&self) -> &'static str { "Equate" }
2929

30-
fn tcx(&self) -> TyCtxt<'tcx, 'gcx, 'tcx> { self.fields.tcx() }
30+
fn tcx(&self) -> TyCtxt<'gcx, 'tcx> { self.fields.tcx() }
3131

3232
fn a_is_expected(&self) -> bool { self.a_is_expected }
3333

0 commit comments

Comments
 (0)