Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr
Improve use of ErrorGuaranteed and code cleanup Part of #103874
This commit is contained in:
commit
61c6cdb5f4
15 changed files with 30 additions and 51 deletions
|
@ -122,7 +122,7 @@ mod rustc {
|
|||
|
||||
let c = c.eval(tcx, param_env);
|
||||
|
||||
if let Some(err) = c.error_reported() {
|
||||
if let Err(err) = c.error_reported() {
|
||||
return Some(Self {
|
||||
alignment: true,
|
||||
lifetimes: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue