Reduce verbosity for ? on non-Try expressions

This commit is contained in:
Esteban Kuber
2021-11-16 02:17:57 +00:00
parent 75b62757e4
commit caf0c1bb1c
4 changed files with 8 additions and 15 deletions

View File

@@ -352,6 +352,8 @@ pub enum ObligationCauseCode<'tcx> {
ForLoopIterator,
QuestionMark,
/// Well-formed checking. If a `WellFormedLoc` is provided,
/// then it will be used to eprform HIR-based wf checking
/// after an error occurs, in order to generate a more precise error span.