about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-08 10:56:15 +0000
committerbors <bors@rust-lang.org>2024-07-08 10:56:15 +0000
commit59a4f02f836f74c4cf08f47d76c9f6069a2f8276 (patch)
treef387f949d383e906b1e4e74a8bb614222ad71b7c /compiler/rustc_trait_selection/src/lib.rs
parent7fdefb804ec300fb605039522a7c0dfc9e7dc366 (diff)
parentc895985e759522d813442b6e83372770158a9001 (diff)
downloadrust-59a4f02f836f74c4cf08f47d76c9f6069a2f8276.tar.gz
rust-59a4f02f836f74c4cf08f47d76c9f6069a2f8276.zip
Auto merge of #127438 - compiler-errors:compute-outlives-visitor, r=lcnr
Make `push_outlives_components` into a `TypeVisitor`

This involves removing the `visited: &mut SsoHashSet<GenericArg<'tcx>>` that is being passed around the `VerifyBoundCx`. The fact that we were using it when decomposing different type tests seems sketchy, so I don't think, though it may technically result in us registering more redundant outlives components 🤷

I did end up deleting some of the comments that referred back to RFC 1214 during this refactor. I can add them back if you think they were useful.

r? lcnr
Diffstat (limited to 'compiler/rustc_trait_selection/src/lib.rs')
0 files changed, 0 insertions, 0 deletions