about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-06-15 23:51:58 +0200
committerGitHub <noreply@github.com>2025-06-15 23:51:58 +0200
commit07048643ddcb2245ba6251fc65403f308e6c38c4 (patch)
tree161db3474e8c9a541c54f01f460100a913b3020a /compiler/rustc_interface/src
parentb83fb800a7ffc321c63ec2f716cef3e15ee6f81b (diff)
parent6ff3713e0fc60146a36774b447204677ab7b8d5a (diff)
downloadrust-07048643ddcb2245ba6251fc65403f308e6c38c4.tar.gz
rust-07048643ddcb2245ba6251fc65403f308e6c38c4.zip
Rollup merge of #142543 - Urgau:span-borrowck-semicolon, r=fmease
Suggest adding semicolon in user code rather than macro impl details

This PR tries to find the right span (by peeling expansion) so that the suggestion for adding a semicolon is suggested in user code rather than in the expanded code (in the example a macro impl).

Fixes rust-lang/rust#139049
r? `@fmease`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions