about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-12-11 03:30:44 -0500
committerGitHub <noreply@github.com>2024-12-11 03:30:44 -0500
commitf1030765f32a3ed31f25345ad2775dca76c05388 (patch)
tree280e85f2790b3b49493902a98abefa82bdf3fffb /compiler/rustc_session/src/errors.rs
parent16b64938c203ca8f63f5c6b82870423caa5cdccf (diff)
parente134c74904bc83c1c92584fad388c20343a8be37 (diff)
downloadrust-f1030765f32a3ed31f25345ad2775dca76c05388.tar.gz
rust-f1030765f32a3ed31f25345ad2775dca76c05388.zip
Rollup merge of #134142 - compiler-errors:paren-sug, r=jieyouxu
Rudimentary heuristic to insert parentheses when needed for RPIT overcaptures lint

We don't have basically any preexisting machinery to detect when parentheses are needed for *types*. AFAICT, all of the diagnostics we have for opaques just... fail when they suggest `+ 'a` when that's ambiguous.

Fixes #132853
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
0 files changed, 0 insertions, 0 deletions