You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lcnr opened this issue
Aug 9, 2022
· 2 comments
· Fixed by #100368
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
should be Cell<Option<ErrorGuaranteed>> to guarantee that we emit an error when that flag is set. This is already done for tainted_by_errors of other types in rustc.
The text was updated successfully, but these errors were encountered:
lcnr
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
labels
Aug 9, 2022
InferCtxt tainted_by_errors_flag should be Option<ErrorGuaranteed>
Fixesrust-lang#100321.
Use Cell<Option<ErrorGuaranteed>> to guarantee that we emit an error when that flag is set.
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
rust/compiler/rustc_infer/src/infer/mod.rs
Line 319 in 5af97e8
should be
Cell<Option<ErrorGuaranteed>>
to guarantee that we emit an error when that flag is set. This is already done fortainted_by_errors
of other types in rustc.rust/compiler/rustc_middle/src/ty/context.rs
Line 537 in 5af97e8
The text was updated successfully, but these errors were encountered: