mirror of https://github.com/rust-lang/rust.git
22 lines
800 B
Plaintext
22 lines
800 B
Plaintext
error[E0557]: feature has been removed
|
|
--> $DIR/const-trait-impl-parameter-mismatch.rs:10:30
|
|
|
|
|
LL | #![feature(const_trait_impl, effects)]
|
|
| ^^^^^^^ feature has been removed
|
|
|
|
|
= note: removed, redundant with `#![feature(const_trait_impl)]`
|
|
|
|
error[E0049]: associated function `compute` has 0 type parameters but its trait declaration has 1 type parameter
|
|
--> $DIR/const-trait-impl-parameter-mismatch.rs:19:16
|
|
|
|
|
LL | fn compute<T: ~const Aux>() -> u32;
|
|
| - expected 1 type parameter
|
|
...
|
|
LL | fn compute<'x>() -> u32 {
|
|
| ^^ found 0 type parameters
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
Some errors have detailed explanations: E0049, E0557.
|
|
For more information about an error, try `rustc --explain E0049`.
|