rust/compiler/rustc_typeck
Takayuki Maeda d562f487c9 suggest &str.chars() on attempt to &str.iter()
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
2021-11-15 12:37:01 +09:00
..
2021-09-20 22:21:42 -04:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.