1
Fork 0

review comment: change span argument

This commit is contained in:
Esteban Küber 2024-10-27 19:23:21 +00:00
parent d2a781a2ec
commit d116767113
6 changed files with 15 additions and 10 deletions

View file

@ -2462,7 +2462,6 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
}
infcx.err_ctxt().note_type_err(
cause.span,
&mut diag,
&cause,
None,
@ -2472,6 +2471,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
}))),
terr,
false,
None,
);
diag.emit();
self.abort.set(true);