File tree Expand file tree Collapse file tree 3 files changed +0
-36
lines changed Expand file tree Collapse file tree 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
5959 |
6060LL + #![feature(adt_const_params)]
6161 |
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- |
6662
6763error: aborting due to 5 previous errors
6864
Original file line number Diff line number Diff line change @@ -138,14 +138,6 @@ LL | trait Trait<const N: Trait = bar> {
138138 | ^^^^^
139139 |
140140 = 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- |
149141
150142error: associated item referring to unboxed trait object for its own trait
151143 --> $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 {
215207 | ^^^^^
216208 |
217209 = 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- |
226210
227211error: aborting due to 13 previous errors; 5 warnings emitted
228212
Original file line number Diff line number Diff line change @@ -74,14 +74,6 @@ LL | trait Foo<const N: Bar<2>> {
7474 | ^^^^^^
7575 |
7676 = 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- |
8577
8678error[E0038]: the trait `Foo` cannot be made into an object
8779 --> $DIR/ice-hir-wf-check-anon-const-issue-122989.rs:11:11
@@ -113,14 +105,6 @@ LL | trait Bar<const M: Foo<2>> {}
113105 | ^^^^^^
114106 |
115107 = 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- |
124108
125109error: aborting due to 5 previous errors; 2 warnings emitted
126110
You can’t perform that action at this time.
0 commit comments