Will Rust ever support aliases for traits, or for lifetimes, or for something else (expressions?!)? What syntax will they have?
trait MyTrait = Trait; // Similar to the current syntax
alias MyTrait = Trait; // Similar to the proposed syntax
use Trait as MyTrait; // Syntax of module aliases reused
/*...*/; // Something completely different
And how will this thing
trait Tr {
alias Ty = int
}
be called - associated alias? : )
I’m trying to put this proposal into wider context.