-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Change opaque type syntax from existential type
to type alias impl Trait
#63180
Conversation
@bors p=5 (This bitrots quickly.) |
52d3e24
to
3adbffe
Compare
This comment has been minimized.
This comment has been minimized.
👍 on the rename. What remains after this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with review comments addressed
After merging, can you please change the tracking issue description + the F-* label name? |
a3aa40b
to
b09e8bd
Compare
Changes look good. |
This comment has been minimized.
This comment has been minimized.
b09e8bd
to
95cb304
Compare
@bors r=Centril |
📌 Commit 95cb30420c9f0928f1d116f54069308c3d9d0a75 has been approved by |
⌛ Testing commit 95cb30420c9f0928f1d116f54069308c3d9d0a75 with merge 83de5034c67a36c99c643c1a148dd5ee1187cfc0... |
💔 Test failed - checks-azure |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Change opaque type syntax from `existential type` to type alias `impl Trait` This implements a new feature gate `type_alias_impl_trait` (this is slightly different from the originally proposed feature name, but matches what has been used in discussion since), deprecating the old `existential_types` feature. The syntax for opaque types has been changed. In addition, the "existential" terminology has been replaced with "opaque", as per previous discussion and the RFC. This makes partial progress towards implementing #63063. r? @Centril
☀️ Test successful - checks-azure |
Broken due to: * rust-lang/rust#63180 (`Existential` -> `OpaqueTy`) * rust-lang/rust#63121 (New fields for `FormatSpec`)
Rustup to latest rustc master Broken due to: * rust-lang/rust#63180 (`Existential` -> `OpaqueTy`) * rust-lang/rust#63121 (New fields for `FormatSpec`)
Rustup to latest rustc master Broken due to: * rust-lang/rust#63180 (`Existential` -> `OpaqueTy`) * rust-lang/rust#63121 (New fields for `FormatSpec`)
Rustup to latest rustc master Broken due to: changelog: none * rust-lang/rust#63180 (`Existential` -> `OpaqueTy`) * rust-lang/rust#63121 (New fields for `FormatSpec`)
Rustup to latest rustc master Broken due to: * rust-lang/rust#63180 (`Existential` -> `OpaqueTy`) * rust-lang/rust#63121 (New fields for `FormatSpec`) changelog: none
`existential_type` deprecated by rust-lang/rust#63180 in favour of `#![feature(type_alias_impl_trait)]`. This change updates the code to use the new syntax and the circle ci configuration.
`existential_type` deprecated by rust-lang/rust#63180 in favour of `#![feature(type_alias_impl_trait)]`. This change updates the code to use the new syntax and the circle ci configuration.
…694) Merge pull request #694 existential_type deprecated by rust-lang/rust#63180 in favour of #![feature(type_alias_impl_trait)]. This change updates the code with the new (much better) syntax and the circle ci configuration (merge after image is built).
This implements a new feature gate
type_alias_impl_trait
(this is slightly different from the originally proposed feature name, but matches what has been used in discussion since), deprecating the oldexistential_types
feature.The syntax for opaque types has been changed. In addition, the "existential" terminology has been replaced with "opaque", as per previous discussion and the RFC.
This makes partial progress towards implementing #63063.
r? @Centril