New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for lazy type aliases #112792
Comments
type_alias_type
feature flaglazy_type_alias
feature flag
…oli-obk Add `lazy_type_alias` feature gate Add the `type_alias_type` to be able to have the weak alias used without restrictions. Part of rust-lang#112792. cc `@compiler-errors` r? `@oli-obk`
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Recording: Trailing For other unstable features that were accidentally allowed as syntax-stable (e.g. But on the other hand, trailing TL;DR: it being syntax stable deserves to be recorded, and is fine to remain such without any FCW (imo). |
lazy_type_alias
feature flag
This is a tracking issue for the feature lazy type aliases.
It's considered to be a “sophisticated bug fix” for #21903, hence no RFC.
The feature gate for the issue is
#![feature(lazy_type_alias)]
.The feature implements the expected semantics for type aliases:
the type alias must also be made public (see also #114213).
It can only be stabilized as part of a new edition since the new semantics are incompatible with the status quo.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Unresolved questions
None.
Resolved questions
Implementation history
AliasKind::Weak
for type aliases. #108860lazy_type_alias
feature gate #112853Honorable Mentions
Thanks to @fmease for writing this description. :)
The text was updated successfully, but these errors were encountered: