rust/src/librustc_typeck
bors 7bbcd005b3 Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov
Don't format!() string literals

Prefer `to_string()` to `format!()` take 2, this time targetting string literals. In some cases (`&format!("...")` -> `"..."`) also removes allocations. Occurences of `format!("")` are changed to `String::new()`.
2018-07-30 06:29:39 +00:00
..
2018-07-16 15:09:17 +02:00
2018-07-16 15:09:17 +02:00
2018-07-28 17:58:52 +02:00
2018-07-16 15:09:17 +02:00
2018-07-16 15:09:17 +02:00
2018-07-28 17:58:52 +02:00
2018-07-18 10:53:08 +02:00

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