Rollup merge of #120956 - compiler-errors:clean-type-alias, r=GuillaumeGomez

Clean inlined type alias with correct param-env

We were cleaning the `hir::Ty` of a type alias item in the param-env of the item that *references* the type alias, and not the alias's own param-env.

Fixes #120954
This commit is contained in:
Matthias Krüger 2024-02-12 18:04:11 +01:00 committed by GitHub
commit 1eca8f7cd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available