rename reported_signature_mismatch
to reflect its use
This commit is contained in:
parent
5431404b87
commit
7fe0cd6d3b
3 changed files with 4 additions and 6 deletions
|
@ -278,7 +278,7 @@ pub struct InferCtxt<'tcx> {
|
|||
/// avoid reporting the same error twice.
|
||||
pub reported_trait_errors: RefCell<FxIndexMap<Span, Vec<ty::Predicate<'tcx>>>>,
|
||||
|
||||
pub reported_closure_mismatch: RefCell<FxHashSet<(Span, Option<Span>)>>,
|
||||
pub reported_signature_mismatch: RefCell<FxHashSet<(Span, Option<Span>)>>,
|
||||
|
||||
/// When an error occurs, we want to avoid reporting "derived"
|
||||
/// errors that are due to this original failure. Normally, we
|
||||
|
@ -702,7 +702,7 @@ impl<'tcx> InferCtxtBuilder<'tcx> {
|
|||
selection_cache: Default::default(),
|
||||
evaluation_cache: Default::default(),
|
||||
reported_trait_errors: Default::default(),
|
||||
reported_closure_mismatch: Default::default(),
|
||||
reported_signature_mismatch: Default::default(),
|
||||
tainted_by_errors: Cell::new(None),
|
||||
err_count_on_creation: tcx.dcx().err_count(),
|
||||
universe: Cell::new(ty::UniverseIndex::ROOT),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue