]> git.lizzy.rs Git - rust.git/commit
Merge #7088
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 30 Dec 2020 07:45:33 +0000 (07:45 +0000)
committerGitHub <noreply@github.com>
Wed, 30 Dec 2020 07:45:33 +0000 (07:45 +0000)
commite7d2b5888b8a7e632ae9080108ccbc450316fd86
tree721f9183ad55b80a77b1ae787e6e5f299def28ef
parent848e817f603ed12e065bc3057d12e04b481fb5bb
parentddbf484acf15efd73b61ac80a941730b507c01de
Merge #7088

7088: Smarter bracketed `use` diagnostic r=lnicola a=AdnoC

Closes https://github.com/rust-analyzer/rust-analyzer/issues/4531

Makes it so that if a bracketed use statement contains a comment inside the braces, no "Unnecessary braces in use statement" diagnostic is shown.

Co-authored-by: AdnoC <adam.r.cutler@gmail.com>