We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8a798b commit bff287bCopy full SHA for bff287b
compiler/rustc_hir_typeck/src/pat.rs
@@ -163,8 +163,6 @@ enum MutblCap {
163
/// The contained span, if present, points to an `&` pattern
164
/// that is the reason for the restriction,
165
/// and which will be reported in a diagnostic.
166
- /// (Said diagnostic is shown only if
167
- /// replacing the `&` pattern with `&mut` would allow the code to compile.)
168
WeaklyNot(Option<Span>),
169
170
/// No restriction on mutability
0 commit comments