We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0b6af commit 4cb492eCopy full SHA for 4cb492e
compiler/rustc_trait_selection/src/traits/coherence.rs
@@ -391,8 +391,7 @@ fn resolve_negative_obligation<'cx, 'tcx>(
391
};
392
393
let param_env = o.param_env;
394
- let errors = super::fully_solve_obligation(&infcx, o);
395
- if !errors.is_empty() {
+ if !super::fully_solve_obligation(&infcx, o).is_empty() {
396
return false;
397
}
398
0 commit comments