Rollup merge of #63092 - Centril:update-impl-trait-gates, r=varkor

Update `impl Trait` gate issues

cc https://github.com/rust-lang/rust/issues/63065
cc https://github.com/rust-lang/rust/issues/63063

r? @varkor cc @alexreg
This commit is contained in:
Mazdak Farrokhzad 2019-07-29 02:11:00 +02:00 committed by GitHub
commit f8321d0d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -454,7 +454,7 @@ declare_features! (
(active, doc_alias, "1.27.0", Some(50146), None),
// Allows defining `existential type`s.
(active, existential_type, "1.28.0", Some(34511), None),
(active, existential_type, "1.28.0", Some(63063), None),
// Allows inconsistent bounds in where clauses.
(active, trivial_bounds, "1.28.0", Some(48214), None),
@ -507,7 +507,7 @@ declare_features! (
(active, bind_by_move_pattern_guards, "1.30.0", Some(15287), None),
// Allows `impl Trait` in bindings (`let`, `const`, `static`).
(active, impl_trait_in_bindings, "1.30.0", Some(34511), None),
(active, impl_trait_in_bindings, "1.30.0", Some(63065), None),
// Allows using `reason` in lint attributes and the `#[expect(lint)]` lint check.
(active, lint_reasons, "1.31.0", Some(54503), None),

View File

@ -4,7 +4,7 @@ error[E0658]: existential types are unstable
LL | existential type Item: Bug;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
= help: add `#![feature(existential_type)]` to the crate attributes to enable
error[E0277]: the trait bound `(): Bug` is not satisfied

View File

@ -4,7 +4,7 @@ error[E0658]: existential types are unstable
LL | existential type Foo: std::fmt::Debug;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
= help: add `#![feature(existential_type)]` to the crate attributes to enable
error[E0658]: existential types are unstable
@ -13,7 +13,7 @@ error[E0658]: existential types are unstable
LL | existential type Baa: std::fmt::Debug;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
= help: add `#![feature(existential_type)]` to the crate attributes to enable
error: aborting due to 2 previous errors