2023-09-25 04:28:58 -05:00
|
|
|
error: useless use of `vec!`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui-toml/too_large_for_stack/useless_vec.rs:4:13
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
|
|
|
LL | let x = vec![0u8; 500];
|
|
|
|
| ^^^^^^^^^^^^^^ help: you can use an array directly: `[0u8; 500]`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::useless-vec` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-25 04:28:58 -05:00
|
|
|
|