]> git.lizzy.rs Git - rust.git/commit
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)
commite3048c78384d1cd7b70a0bb122d385cb67eeb06f
tree5f7b411e5d184259778d5f14a1d00bfb6b159ec7
parent226b2496fc3ef997fa1cccf84259539203f82375
parentcd233231aa215b7a5642e6a80869959b375e0725
Rollup merge of #104012 - chenyukang:yukang/fix-103882-deli-indentation, r=petrochenkov

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.