mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

make replace_prefix only take &str as arguments included the clippy::manual strip commit to not run into merge conflicts later. r? @lcnr
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.