]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #66613 - Areredify:trait-ref-print, r=eddyb
authorRalf Jung <post@ralfj.de>
Fri, 29 Nov 2019 21:57:31 +0000 (22:57 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Nov 2019 21:57:31 +0000 (22:57 +0100)
Allow customising ty::TraitRef's printing behavior

This pr allows to explicitly choose which representation of `TraitRef` (`<T as Trait<U>>` or `Trait<U>`) you want to print. `Debug` and `Display` representations of `TraitRef` now match.

Closes #59188.


Trivial merge