about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-10-16 23:58:04 +0200
committerGitHub <noreply@github.com>2023-10-16 23:58:04 +0200
commitd0ade3f1baf421d730d569b285bf717f34683f41 (patch)
tree1add1be371655a7ace3bd04f3408c7971c944f7e /compiler/rustc_errors/src/snippet.rs
parent4c1c8abbf329467dc950298222793424f5f58f86 (diff)
parent17ec3cd5bfe295cf31c464f40776c438b9570ac0 (diff)
downloadrust-d0ade3f1baf421d730d569b285bf717f34683f41.tar.gz
rust-d0ade3f1baf421d730d569b285bf717f34683f41.zip
Rollup merge of #116800 - compiler-errors:rpitit-gat-outlives, r=jackh726
Fix implied outlives check for GAT in RPITIT

We enforce certain `Self: 'lt` bounds for GATs to save space for more sophisticated implied bounds, but those currently operate on the HIR. Code was easily reworked to operate on def-ids so that we can properly let these suggestions propagate through synthetic associated types like RPITITs and AFITs.

r? `@jackh726` or `@aliemjay`

Fixes #116789
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions