Skip to content

Commit f8321d0

Browse files
authored
Rollup merge of rust-lang#63092 - Centril:update-impl-trait-gates, r=varkor
Update `impl Trait` gate issues cc rust-lang#63065 cc rust-lang#63063 r? @varkor cc @alexreg
2 parents f6f2142 + 2a49dd0 commit f8321d0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: src/libsyntax/feature_gate.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ declare_features! (
454454
(active, doc_alias, "1.27.0", Some(50146), None),
455455

456456
// Allows defining `existential type`s.
457-
(active, existential_type, "1.28.0", Some(34511), None),
457+
(active, existential_type, "1.28.0", Some(63063), None),
458458

459459
// Allows inconsistent bounds in where clauses.
460460
(active, trivial_bounds, "1.28.0", Some(48214), None),
@@ -507,7 +507,7 @@ declare_features! (
507507
(active, bind_by_move_pattern_guards, "1.30.0", Some(15287), None),
508508

509509
// Allows `impl Trait` in bindings (`let`, `const`, `static`).
510-
(active, impl_trait_in_bindings, "1.30.0", Some(34511), None),
510+
(active, impl_trait_in_bindings, "1.30.0", Some(63065), None),
511511

512512
// Allows using `reason` in lint attributes and the `#[expect(lint)]` lint check.
513513
(active, lint_reasons, "1.31.0", Some(54503), None),

Diff for: src/test/ui/existential-type/issue-60371.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: existential types are unstable
44
LL | existential type Item: Bug;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
7+
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
88
= help: add `#![feature(existential_type)]` to the crate attributes to enable
99

1010
error[E0277]: the trait bound `(): Bug` is not satisfied

Diff for: src/test/ui/feature-gates/feature-gate-existential-type.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: existential types are unstable
44
LL | existential type Foo: std::fmt::Debug;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
7+
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
88
= help: add `#![feature(existential_type)]` to the crate attributes to enable
99

1010
error[E0658]: existential types are unstable
@@ -13,7 +13,7 @@ error[E0658]: existential types are unstable
1313
LL | existential type Baa: std::fmt::Debug;
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515
|
16-
= note: for more information, see https://github.com/rust-lang/rust/issues/34511
16+
= note: for more information, see https://github.com/rust-lang/rust/issues/63063
1717
= help: add `#![feature(existential_type)]` to the crate attributes to enable
1818

1919
error: aborting due to 2 previous errors

0 commit comments

Comments
 (0)