mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
1cfbc509e6
Delegation: eliminate usage of AST from generics creation This PR eliminates all interaction with AST during creation of generics, then it supports proper const param types propagation. Fixes rust-lang/rust#153433. Fixes rust-lang/rust#153499. Part of rust-lang/rust#118212. r? @petrochenkov
For high-level intro to how type checking works in rustc, see the hir typeck chapter of the rustc dev guide.