Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Failed] Functions v2 #139

Closed
wants to merge 1 commit into from

failed changes

1eb87ad
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

[Failed] Functions v2 #139

failed changes
1eb87ad
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Sep 10, 2023 in 0s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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