give precedence to try_report_named_anon_conflict
method
This commit is contained in:
parent
de563082c8
commit
94e7072d0b
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ impl<'cx, 'gcx, 'tcx> NiceRegionError<'cx, 'gcx, 'tcx> {
|
|||
}
|
||||
|
||||
pub fn try_report(&self) -> Option<ErrorReported> {
|
||||
self.try_report_anon_anon_conflict()
|
||||
.or_else(|| self.try_report_named_anon_conflict())
|
||||
self.try_report_named_anon_conflict()
|
||||
.or_else(|| self.try_report_anon_anon_conflict())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue