]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #104012 - chenyukang:yukang/fix-103882-deli-indentation, r=petrochenkov
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 28 Jan 2023 10:11:05 +0000 (11:11 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Jan 2023 10:11:05 +0000 (11:11 +0100)
Improve unexpected close and mismatch delimiter hint in TokenTreesReader

Fixes #103882
Fixes #68987
Fixes #69259

The inner indentation mismatching will be covered by outer block, the new added function `report_error_prone_delim_block` will find out the error prone candidates for reporting.


Trivial merge