]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #107487 - edward-shen:edward-shen/107213-round-2, r=estebank
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 1 Feb 2023 04:54:39 +0000 (05:54 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Feb 2023 04:54:39 +0000 (05:54 +0100)
Make the "extra if in let...else block" hint a suggestion

Changes the hint to a suggestion, suggested in #107213.

r? ```@estebank```

1  2 
compiler/rustc_parse/src/parser/expr.rs
tests/ui/rfc-2497-if-let-chains/ensure-that-let-else-does-not-interact-with-let-chains.stderr