blob: 7b449242c326c6ae83cd8539e62aa4d9b45e7cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:22:13
|
LL | struct StLt<#[rustc_lt_struct] 'a>(&'a u32);
| ^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:24:13
|
LL | struct StTy<#[rustc_ty_struct] I>(I);
| ^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:27:11
|
LL | enum EnLt<#[rustc_lt_enum] 'b> { A(&'b u32), B }
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:29:11
|
LL | enum EnTy<#[rustc_ty_enum] J> { A(J), B }
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:32:12
|
LL | trait TrLt<#[rustc_lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; }
| ^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:34:12
|
LL | trait TrTy<#[rustc_ty_trait] K> { fn foo(&self, _: K); }
| ^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:37:11
|
LL | type TyLt<#[rustc_lt_type] 'd> = &'d u32;
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:39:11
|
LL | type TyTy<#[rustc_ty_type] L> = (L, );
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:42:6
|
LL | impl<#[rustc_lt_inherent] 'e> StLt<'e> { }
| ^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:44:6
|
LL | impl<#[rustc_ty_inherent] M> StTy<M> { }
| ^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:47:6
|
LL | impl<#[rustc_lt_impl_for] 'f> TrLt<'f> for StLt<'f> {
| ^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:51:6
|
LL | impl<#[rustc_ty_impl_for] N> TrTy<N> for StTy<N> {
| ^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:56:9
|
LL | fn f_lt<#[rustc_lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } }
| ^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:58:9
|
LL | fn f_ty<#[rustc_ty_fn] O>(_: O) { }
| ^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:62:13
|
LL | fn m_lt<#[rustc_lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } }
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on type parameter bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:64:13
|
LL | fn m_ty<#[rustc_ty_meth] P>(_: P) { }
| ^^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error[E0658]: attributes on lifetime bindings are experimental (see issue #34761)
--> $DIR/feature-gate-generic_param_attrs.rs:69:19
|
LL | where Q: for <#[rustc_lt_hof] 'i> Fn(&'i [u32]) -> &'i u32
| ^^^^^^^^^^^^^^^
|
= help: add #![feature(generic_param_attrs)] to the crate attributes to enable
error: aborting due to 17 previous errors
For more information about this error, try `rustc --explain E0658`.
|