diff options
| -rw-r--r-- | compiler/rustc_hir_typeck/src/pat.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_hir_typeck/src/pat.rs b/compiler/rustc_hir_typeck/src/pat.rs index 5a2fed13d2b..a4cee5aac8d 100644 --- a/compiler/rustc_hir_typeck/src/pat.rs +++ b/compiler/rustc_hir_typeck/src/pat.rs @@ -163,8 +163,6 @@ enum MutblCap { /// The contained span, if present, points to an `&` pattern /// that is the reason for the restriction, /// and which will be reported in a diagnostic. - /// (Said diagnostic is shown only if - /// replacing the `&` pattern with `&mut` would allow the code to compile.) WeaklyNot(Option<Span>), /// No restriction on mutability |
