Skip to content

Commit fded2e9

Browse files
Adjust tracking issue for non_lifetime_binders
1 parent f722b24 commit fded2e9

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

compiler/rustc_feature/src/active.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ declare_features! (
474474
/// Allows using the `non_exhaustive_omitted_patterns` lint.
475475
(active, non_exhaustive_omitted_patterns_lint, "1.57.0", Some(89554), None),
476476
/// Allows `for<T>` binders in where-clauses
477-
(incomplete, non_lifetime_binders, "CURRENT_RUSTC_VERSION", Some(1), None),
477+
(incomplete, non_lifetime_binders, "CURRENT_RUSTC_VERSION", Some(108185), None),
478478
/// Allows making `dyn Trait` well-formed even if `Trait` is not object safe.
479479
/// In that case, `dyn Trait: Trait` does not hold. Moreover, coercions and
480480
/// casts in safe Rust to `dyn Trait` for such a `Trait` is also forbidden.

tests/ui/bounds-lifetime.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ error[E0658]: only lifetime parameters can be used in this context
2222
LL | type D = for<'a, T> fn();
2323
| ^
2424
|
25-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
25+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
2626
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
2727

2828
error[E0658]: only lifetime parameters can be used in this context
@@ -31,7 +31,7 @@ error[E0658]: only lifetime parameters can be used in this context
3131
LL | type E = dyn for<T> Fn();
3232
| ^
3333
|
34-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
34+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
3535
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
3636

3737
error: aborting due to 5 previous errors

tests/ui/closures/binder/disallow-const.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: only lifetime parameters can be used in this context
44
LL | for<const N: i32> || -> () {};
55
| ^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

tests/ui/closures/binder/disallow-ty.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: only lifetime parameters can be used in this context
44
LL | for<T> || -> () {};
55
| ^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

tests/ui/conditional-compilation/cfg-generic-params.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ error[E0658]: only lifetime parameters can be used in this context
3434
LL | type FnBad = for<#[cfg(no)] 'a, #[cfg(yes)] T> fn();
3535
| ^
3636
|
37-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
37+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
3838
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
3939

4040
error[E0658]: only lifetime parameters can be used in this context
@@ -43,7 +43,7 @@ error[E0658]: only lifetime parameters can be used in this context
4343
LL | type PolyBad = dyn for<#[cfg(no)] 'a, #[cfg(yes)] T> Copy;
4444
| ^
4545
|
46-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
46+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
4747
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
4848

4949
error[E0658]: only lifetime parameters can be used in this context
@@ -52,7 +52,7 @@ error[E0658]: only lifetime parameters can be used in this context
5252
LL | struct WhereBad where for<#[cfg(no)] 'a, #[cfg(yes)] T> u8: Copy;
5353
| ^
5454
|
55-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
55+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
5656
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
5757

5858
error: aborting due to 8 previous errors

tests/ui/feature-gates/feature-gate-non_lifetime_binders.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: only lifetime parameters can be used in this context
44
LL | fn foo() where for<T> T:, {}
55
| ^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: only lifetime parameters can be used in this context
44
LL | fn a() where for<T> T: Copy {}
55
| ^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
99

1010
error[E0658]: only lifetime parameters can be used in this context
@@ -13,7 +13,7 @@ error[E0658]: only lifetime parameters can be used in this context
1313
LL | fn b() where for<const C: usize> [(); C]: Copy {}
1414
| ^
1515
|
16-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
16+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
1717
= help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
1818

1919
error: aborting due to 2 previous errors

tests/ui/traits/non_lifetime_binders/basic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: the feature `non_lifetime_binders` is incomplete and may not be safe to
44
LL | #![feature(non_lifetime_binders)]
55
| ^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= note: `#[warn(incomplete_features)]` on by default
99

1010
warning: 1 warning emitted

tests/ui/traits/non_lifetime_binders/fail.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: the feature `non_lifetime_binders` is incomplete and may not be safe to
44
LL | #![feature(non_lifetime_binders)]
55
| ^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= note: `#[warn(incomplete_features)]` on by default
99

1010
error[E0277]: the trait bound `T: Trait` is not satisfied

tests/ui/traits/non_lifetime_binders/on-dyn.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: the feature `non_lifetime_binders` is incomplete and may not be safe to
44
LL | #![feature(non_lifetime_binders)]
55
| ^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= note: `#[warn(incomplete_features)]` on by default
99

1010
error: late-bound type parameter not allowed on trait object types

tests/ui/traits/non_lifetime_binders/on-ptr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: the feature `non_lifetime_binders` is incomplete and may not be safe to
44
LL | #![feature(non_lifetime_binders)]
55
| ^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
88
= note: `#[warn(incomplete_features)]` on by default
99

1010
error: late-bound type parameter not allowed on function pointer types

0 commit comments

Comments
 (0)