Fix format and token literal fallout.

See https://github.com/rust-lang/rust/pull/19103 for literal changes and https://github.com/rust-lang/rust/pull/19040 for fmt changes.

Particularly String and Char formatting traits are removed.