mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
496145b9cc
check types of const param defaults fixes #139643 by checking that the type of a const parameter default matches the type of the parameter as long as both types are fully concrete r? `@BoxyUwU`
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.