mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
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:
commit
f8321d0d97
@ -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),
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user