File tree 3 files changed +0
-36
lines changed
3 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,6 @@ help: add `#![feature(adt_const_params)]` to the crate attributes to enable more
59
59
|
60
60
LL + #![feature(adt_const_params)]
61
61
|
62
- help: add `#![feature(unsized_const_parameters)]` to the crate attributes to enable references to implement the `ConstParamTy` trait
63
- |
64
- LL + #![feature(unsized_const_parameters)]
65
- |
66
62
67
63
error: aborting due to 5 previous errors
68
64
Original file line number Diff line number Diff line change @@ -138,14 +138,6 @@ LL | trait Trait<const N: Trait = bar> {
138
138
| ^^^^^
139
139
|
140
140
= note: the only supported types are integers, `bool` and `char`
141
- help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
142
- |
143
- LL + #![feature(adt_const_params)]
144
- |
145
- help: add `#![feature(unsized_const_parameters)]` to the crate attributes to enable references to implement the `ConstParamTy` trait
146
- |
147
- LL + #![feature(unsized_const_parameters)]
148
- |
149
141
150
142
error: associated item referring to unboxed trait object for its own trait
151
143
--> $DIR/ice-hir-wf-check-anon-const-issue-122199.rs:12:44
@@ -215,14 +207,6 @@ LL | fn fnc<const N: Trait = u32>(&self) -> Trait {
215
207
| ^^^^^
216
208
|
217
209
= note: the only supported types are integers, `bool` and `char`
218
- help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
219
- |
220
- LL + #![feature(adt_const_params)]
221
- |
222
- help: add `#![feature(unsized_const_parameters)]` to the crate attributes to enable references to implement the `ConstParamTy` trait
223
- |
224
- LL + #![feature(unsized_const_parameters)]
225
- |
226
210
227
211
error: aborting due to 13 previous errors; 5 warnings emitted
228
212
Original file line number Diff line number Diff line change @@ -74,14 +74,6 @@ LL | trait Foo<const N: Bar<2>> {
74
74
| ^^^^^^
75
75
|
76
76
= note: the only supported types are integers, `bool` and `char`
77
- help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
78
- |
79
- LL + #![feature(adt_const_params)]
80
- |
81
- help: add `#![feature(unsized_const_parameters)]` to the crate attributes to enable references to implement the `ConstParamTy` trait
82
- |
83
- LL + #![feature(unsized_const_parameters)]
84
- |
85
77
86
78
error[E0038]: the trait `Foo` cannot be made into an object
87
79
--> $DIR/ice-hir-wf-check-anon-const-issue-122989.rs:11:11
@@ -113,14 +105,6 @@ LL | trait Bar<const M: Foo<2>> {}
113
105
| ^^^^^^
114
106
|
115
107
= note: the only supported types are integers, `bool` and `char`
116
- help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
117
- |
118
- LL + #![feature(adt_const_params)]
119
- |
120
- help: add `#![feature(unsized_const_parameters)]` to the crate attributes to enable references to implement the `ConstParamTy` trait
121
- |
122
- LL + #![feature(unsized_const_parameters)]
123
- |
124
108
125
109
error: aborting due to 5 previous errors; 2 warnings emitted
126
110
You can’t perform that action at this time.
0 commit comments