-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call 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.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Description
rust/compiler/rustc_infer/src/infer/mod.rs
Line 319 in 5af97e8
tainted_by_errors_flag: Cell<bool>, |
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.
rust/compiler/rustc_middle/src/ty/context.rs
Line 537 in 5af97e8
pub tainted_by_errors: Option<ErrorGuaranteed>, |
compiler-errors
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call 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.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.