Auto traits in `dyn Trait + Auto` are suggestable by compiler-errors · Pull Requ...
source link: https://github.com/rust-lang/rust/pull/105627
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Not sure why I had made the IsSuggestableVisitor
have that rule to not consider dyn Trait + Auto
to be suggestable.
It's possible that this was done because of the fact that we don't print the right parentheses for &(dyn Trait + Auto)
, but that's a problem with printing these types in general that we probably have tracked somewhere else...
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK