Cube: variable reusability + refactor in cube macros #4431
Annotations
1 error and 1 warning
[clippy] crates/burn-derive/src/shared/attribute.rs#L8:
crates/burn-derive/src/shared/attribute.rs#L8
error: field `ident` is never read
--> crates/burn-derive/src/shared/attribute.rs:9:9
|
8 | pub struct AttributeItem {
| ------------- field in this struct
9 | pub ident: Ident,
| ^^^^^
|
= note: `AttributeItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
tests (ubuntu-22.04, stable, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|