Do wfcheck on ADT field before Sized check
This commit is contained in:
@@ -403,7 +403,7 @@ pub enum ObligationCauseCode<'tcx> {
|
||||
QuestionMark,
|
||||
|
||||
/// Well-formed checking. If a `WellFormedLoc` is provided,
|
||||
/// then it will be used to eprform HIR-based wf checking
|
||||
/// then it will be used to perform HIR-based wf checking
|
||||
/// after an error occurs, in order to generate a more precise error span.
|
||||
/// This is purely for diagnostic purposes - it is always
|
||||
/// correct to use `MiscObligation` instead, or to specify
|
||||
|
||||
Reference in New Issue
Block a user