librustc: Remove all uses of `~str` from librustc.
librustdoc: Remove all `~str` usage from librustdoc.
auto merge of #14157 : pcwalton/rust/detildestr-rustdoc, r=brson

r? @brson