Point at specific field in struct literal when trait fulfillment fails
This commit is contained in:
parent
c8e6a9e8b6
commit
2a67e99d7d
21 changed files with 1150 additions and 111 deletions
|
@ -467,6 +467,8 @@ pub enum WellFormedLoc {
|
|||
pub struct ImplDerivedObligationCause<'tcx> {
|
||||
pub derived: DerivedObligationCause<'tcx>,
|
||||
pub impl_def_id: DefId,
|
||||
/// The index of the derived predicate in the parent impl's predicates.
|
||||
pub impl_def_predicate_index: Option<usize>,
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue