Show let-else suggestion on stable.

This commit is contained in:
Eric Huss
2022-10-08 14:39:25 -07:00
parent c27948d255
commit be1c7aad72
@@ -491,7 +491,7 @@ fn check_irrefutable(&self, pat: &'tcx Pat<'tcx>, origin: &str, sp: Option<Span>
],
Applicability::HasPlaceholders,
);
if !bindings.is_empty() && cx.tcx.sess.is_nightly_build() {
if !bindings.is_empty() {
err.span_suggestion_verbose(
semi_span.shrink_to_lo(),
&format!(