rust-lang / lang-team

Home of the Rust lang team
http://lang-team.rust-lang.org/
Apache License 2.0
202 stars 48 forks source link

Design meeting: Implementable trait aliases #224

Closed tmandry closed 10 months ago

tmandry commented 1 year ago

Summary

Extend #![feature(trait_alias)] to permit impl blocks for trait aliases with a single primary trait. Also support fully-qualified method call syntax with such aliases.

Background reading

https://github.com/rust-lang/rfcs/pull/3437

About this issue

This issue corresponds to a lang-team design meeting proposal. It corresponds to a possible topic of discussion that may be scheduled for deeper discussion during one of our design meetings.

cc @Jules-Bertholet