mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-05 23:49:50 +00:00
check if `String` or `&String` or `&str` Update compiler/rustc_typeck/src/check/method/suggest.rs Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com> remove some trailing whitespace
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.