mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 08:36:52 -04:00
809fcab63e
Several printing functions (e.g. `short_string`) take a liftable parameter. This commit changes the call sites to do the lifting instead. This simplifies the type signatures and puts the `lift` calls inside `tls::with` calls which is where they usually appear, and the minor cost of having more `lift` call sites.
For more information about how rustc works, see the rustc dev guide.