mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-06 16:12:25 +00:00
Auto traits in `dyn Trait + Auto` are suggestable 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...
For more information about how rustc works, see the rustc dev guide.