I certain that the most efficient and Rust-like way to side-step this issue is to
- Associate each suffix with a type (possibly an uninhabited like
enum m {})
- Implement a trait on this “symbol type”.
This sidesteps all of the weird ad-hoc problems related to using attributes and introducing new entities and introducing substantial grammar changes to the language, and gives an object that (in a given scope) refers to a suffix uniquely.
I think at this point I’m going to just write up my own Pre-RFC with my counterproposal in its own thread, since my idea is too broken up across replies to be understandable.