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