Support pretty-printing dyn* trait objects

This commit is contained in:
David Tolnay 2024-12-20 20:33:59 -08:00
parent 13170cd787
commit 1cc8289791
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
4 changed files with 11 additions and 10 deletions

View file

@ -129,10 +129,7 @@ static EXPRS: &[&str] = &[
"(0.).to_string()",
"0. .. 1.",
*/
/*
// FIXME: pretty-printer loses the dyn*. `i as Trait`
"i as dyn* Trait",
*/
];
// Flatten the content of parenthesis nodes into their parent node. For example