2024-09-24 09:53:19 -05:00
|
|
|
error: `-Znext-solver=globally` and `generic_const_exprs` are incompatible, using them at the same time is not allowed
|
|
|
|
--> $DIR/const-trait-bounds.rs:4:39
|
|
|
|
|
|
|
|
|
LL | #![feature(const_trait_impl, effects, generic_const_exprs)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: remove one of these features
|
|
|
|
|
2024-06-30 12:08:45 -05:00
|
|
|
error[E0284]: type annotations needed: cannot normalize `process<T>::{constant#0}`
|
|
|
|
--> $DIR/const-trait-bounds.rs:12:35
|
|
|
|
|
|
|
|
|
LL | fn process<T: const Trait>(input: [(); T::make(2)]) -> [(); T::make(2)] {
|
|
|
|
| ^^^^^^^^^^^^^^^^ cannot normalize `process<T>::{constant#0}`
|
|
|
|
|
2024-07-16 21:07:36 -05:00
|
|
|
error[E0284]: type annotations needed: cannot normalize `Struct<T, P>::field::{constant#0}`
|
|
|
|
--> $DIR/const-trait-bounds.rs:20:12
|
2024-06-30 12:08:45 -05:00
|
|
|
|
|
2024-07-16 21:07:36 -05:00
|
|
|
LL | field: [u32; T::make(P)],
|
|
|
|
| ^^^^^^^^^^^^^^^^^ cannot normalize `Struct<T, P>::field::{constant#0}`
|
2024-06-30 12:08:45 -05:00
|
|
|
|
|
|
|
error[E0284]: type annotations needed: cannot normalize `process<T>::{constant#1}`
|
|
|
|
--> $DIR/const-trait-bounds.rs:13:5
|
|
|
|
|
|
|
|
|
LL | input
|
|
|
|
| ^^^^^ cannot normalize `process<T>::{constant#1}`
|
|
|
|
|
2024-09-24 09:53:19 -05:00
|
|
|
error: aborting due to 4 previous errors
|
2024-06-30 12:08:45 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0284`.
|