Do not use unneeded extra errors variable
This commit is contained in:
parent
ac0b6af37b
commit
4cb492e740
1 changed files with 1 additions and 2 deletions
|
@ -391,8 +391,7 @@ fn resolve_negative_obligation<'cx, 'tcx>(
|
|||
};
|
||||
|
||||
let param_env = o.param_env;
|
||||
let errors = super::fully_solve_obligation(&infcx, o);
|
||||
if !errors.is_empty() {
|
||||
if !super::fully_solve_obligation(&infcx, o).is_empty() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue