about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-19 14:18:22 +1000
committerGitHub <noreply@github.com>2025-08-19 14:18:22 +1000
commitf3f1847e40f0b33dcf7bee55af49054f7ec1875c (patch)
tree64d26abe6acd78b4695e8a3e1b5f8ee82e84c432 /compiler/rustc_parse/src/errors.rs
parent181480d5c40e5bbff1bd05c90951457b3f0449ee (diff)
parent3ebf611005370734ddf7ce22e41ac502e4fff59a (diff)
downloadrust-f3f1847e40f0b33dcf7bee55af49054f7ec1875c.tar.gz
rust-f3f1847e40f0b33dcf7bee55af49054f7ec1875c.zip
Rollup merge of #145041 - lcnr:borrowck-limitations-error, r=BoxyUwU
rework GAT borrowck limitation error

The old one depends on the `ConstraintCategory` of the constraint which meant we did not emit this note if we had to prove the higher ranked trait bound due to e.g. normalization.

This made it annoying brittle and caused MIR borrowck errors to be order dependent, fixes the issue in https://github.com/rust-lang/rust/pull/140737#discussion_r2259592651.

r? types cc ```@amandasystems```
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions