mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
a0ef691e5a
Suggest `[const] Trait` bounds in more places Right now we have some special logic in the const checker for emitting `[const] Trait` suggestions, but I'm trying to handle that similarly to how it is handled for normal `Trait` clauses. This is just a small step in how it will look on the UX side, which should make my follow-up PRs affect tests less and just be a refactoring