]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #52904 - pnkfelix:issue-51167-sort-by-span, r=petrochenkov
authorPietro Albini <pietro@pietroalbini.org>
Wed, 1 Aug 2018 08:13:04 +0000 (10:13 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Aug 2018 08:13:04 +0000 (10:13 +0200)
commit2d29c44a5e01b551f810726a1353a68890018be7
treed4a15ec022a394e946af432b06172f4440ba29c4
parenta8ed6033a6b89d838264a18dddf80cb3fc831e0d
parent779792ff384cd244f480ded0b60e5bf31124133b
Rollup merge of #52904 - pnkfelix:issue-51167-sort-by-span, r=petrochenkov

NLL: sort diagnostics by span

Sorting the output diagnostics by span is a long planned revision to the NLL diagnostics that we hope will yield a less surprising user experience in some case.

Once we got them buffered, it was trivial to implement. (The hard part is skimming the resulting changes to the diagnostics to make sure nothing broke... Note that I largely rubber-stamped the `#[rustc_regions]` output change.)

Fix #51167