[Failed] Functions v2 #139
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0 (5680fa18f 2023-08-23)
- cargo 1.72.0 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (5680fa1 2023-08-23)
Annotations
Check warning on line 66 in src/lang/ts/reserved_terms.rs
github-actions / clippy
constant `RESERVED_IDENTS` is never used
warning: constant `RESERVED_IDENTS` is never used
--> src/lang/ts/reserved_terms.rs:66:18
|
66 | pub(super) const RESERVED_IDENTS: &[&str] = &[
| ^^^^^^^^^^^^^^^
Check warning on line 10 in src/function.rs
github-actions / clippy
field `export_fn` is never read
warning: field `export_fn` is never read
--> src/function.rs:10:16
|
9 | pub struct Function {
| -------- field in this struct
10 | pub(crate) export_fn: ExportFn,
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 20 in src/datatype/function.rs
github-actions / clippy
unused variable: `type_map`
warning: unused variable: `type_map`
--> src/datatype/function.rs:20:9
|
20 | type_map: &mut TypeMap,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_map`
Check warning on line 19 in src/datatype/function.rs
github-actions / clippy
unused variable: `function`
warning: unused variable: `function`
--> src/datatype/function.rs:19:9
|
19 | function: [Function; N],
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 4 in macros/src/specta.rs
github-actions / clippy
unused import: `Pat`
warning: unused import: `Pat`
--> macros/src/specta.rs:4:45
|
4 | use syn::{parse_macro_input, FnArg, ItemFn, Pat, ReturnType, Visibility};
| ^^^
|
= note: `#[warn(unused_imports)]` on by default