add comment
This commit is contained in:
parent
98aa3624be
commit
a913c243da
@ -779,6 +779,12 @@ fn assemble_object_bound_candidates<G: GoalKind<'tcx>>(
|
||||
}
|
||||
}
|
||||
|
||||
/// In coherence we have to not only care about all impls we know about, but
|
||||
/// also consider impls which may get added in a downstream or sibling crate
|
||||
/// or which an upstream impl may add in a minor release.
|
||||
///
|
||||
/// To do so we add an ambiguous candidate in case such an unknown impl could
|
||||
/// apply to the current goal.
|
||||
#[instrument(level = "debug", skip_all)]
|
||||
fn assemble_coherence_unknowable_candidates<G: GoalKind<'tcx>>(
|
||||
&mut self,
|
||||
|
Loading…
Reference in New Issue
Block a user