mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 04:47:10 +00:00
Call lower_const_param instead of duplicating the code Follow up of #123689 r? `@oli-obk` I had this commit in my old branch that I had forgotten about, `@fmease` pointed about this in #123689 I've left the branches that are not `Range` as do nothing as that's what we are currently doing but maybe we want to err or something.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.