Forked from the `print` module from rustc `libsyntax` as of 3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02 (2019-07-14).

This code was originally and is still dual-licensed under the Apache 2.0 and MIT licenses.
