fix: use slice::from_raw_parts only if size > 0 #480
GitHub Actions / clippy
failed
Jun 24, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.63.0 (4b91a6ea7 2022-08-08)
- cargo 1.63.0 (fd9c4297c 2022-07-01)
- clippy 0.1.63 (4b91a6e 2022-08-08)
Annotations
github-actions / clippy
`let...else` statements are unstable
error[E0658]: `let...else` statements are unstable
--> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/derive_more-0.99.18/src/syn_compat.rs:112:13
|
112 | / let MacroDelimiter::Paren(paren_token) = list.delimiter else {
113 | | return Err(syn::Error::new(
114 | | list.delimiter.span().span(),
115 | | "Expected paren",
116 | | ));
117 | | };
| |______________^
|
= note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information
Loading