2021-12-09 11:10:05 -06:00
|
|
|
error[E0015]: cannot call non-const fn `<Vec<usize> as Default>::default` in constant functions
|
2021-08-16 10:55:35 -05:00
|
|
|
--> $DIR/std-impl-gate.rs:13:5
|
|
|
|
|
|
|
|
|
LL | Default::default()
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2021-12-09 11:10:05 -06:00
|
|
|
|
|
|
|
|
= note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
|
2022-12-22 12:15:15 -06:00
|
|
|
= help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
2021-08-16 10:55:35 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0015`.
|