-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
.unwrap() when expecting fmt::Result #120090
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Reading the compiler code (specifically the one responsible for mir output) I found these
.unwrap()s where probably expected?.rust/compiler/rustc_middle/src/mir/pretty.rs
Lines 1119 to 1122 in 6ae4cfb