Skip to content

Commit

Permalink
Rollup merge of rust-lang#63092 - Centril:update-impl-trait-gates, r=…
Browse files Browse the repository at this point in the history
…varkor

Update `impl Trait` gate issues

cc rust-lang#63065
cc rust-lang#63063

r? @varkor cc @alexreg
  • Loading branch information
Centril authored Jul 29, 2019
2 parents f6f2142 + 2a49dd0 commit f8321d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/existential-type/issue-60371.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f8321d0

Please sign in to comment.