982c4a9c25
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.