rust/compiler/rustc_hir_analysis
Matthias Krüger f21c435801
Rollup merge of #109364 - compiler-errors:gat-const-arg, r=BoxyUwU
Only expect a GAT const param for `type_of` of GAT const arg

IDK why we were account for both `is_ty_or_const` instead of just for a const param, since we're computing the `type_of` a const param specifically.

Fixes #109300
2023-03-20 09:46:54 +01:00
..
2023-02-21 11:51:56 +11:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.