]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #54269 - PramodBisht:issue/53840, r=estebank
authorPietro Albini <pietro@pietroalbini.org>
Tue, 2 Oct 2018 20:54:27 +0000 (22:54 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Oct 2018 20:54:27 +0000 (22:54 +0200)
commit49d4359f6df32663e220d1ba6a3ccfe345ba2979
tree42d01dcafa3a5e35eebb5c4aa9122d686f7c08ad
parent1c5e9c68ea6c76fe400528de17ebe03e338bac68
parente536e64702a12898ba7156c66de40b652ac21db1
Rollup merge of #54269 - PramodBisht:issue/53840, r=estebank

#53840: Consolidate pattern check errors

#53840  on this PR we are aggregating `cannot bind by-move and by-ref in the same pattern` message present on the different lines into one diagnostic message. Here we are first gathering those `spans` on `vector` then we are throwing them with the help of `MultiSpan`
r? @estebank

Addresses: #53480