-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.
Description
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
write!(fmt, "(").unwrap(); | |
} | |
ProjectionElem::Deref => { | |
write!(fmt, "(*").unwrap(); |
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.