chore(deps) Update Rust crate syn to v2 #4691
Annotations
8 errors and 2 warnings
no field `lit` on type `syn::MetaNameValue`:
core/tauri-macros/src/command/wrapper.rs#L49
error[E0609]: no field `lit` on type `syn::MetaNameValue`
--> core/tauri-macros/src/command/wrapper.rs:49:36
|
49 | if let Lit::Str(s) = v.lit {
| ^^^ unknown field
|
= note: available fields are: `path`, `eq_token`, `value`
|
no field `lit` on type `syn::MetaNameValue`:
core/tauri-macros/src/command/wrapper.rs#L36
error[E0609]: no field `lit` on type `syn::MetaNameValue`
--> core/tauri-macros/src/command/wrapper.rs:36:36
|
36 | if let Lit::Str(s) = v.lit {
| ^^^ unknown field
|
= note: available fields are: `path`, `eq_token`, `value`
|
this method takes 2 arguments but 1 argument was supplied:
core/tauri-macros/src/command/handler.rs#L34
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> core/tauri-macros/src/command/handler.rs:34:30
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- an argument of type `syn::token::Comma` is missing
|
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.28/src/parse.rs:739:12
|
739 | pub fn parse_terminated<T, P>(
| ^^^^^^^^^^^^^^^^
help: provide the argument
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse, /* syn::token::Comma */)?;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
expected a `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`:
core/tauri-macros/src/command/handler.rs#L34
error[E0277]: expected a `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`
--> core/tauri-macros/src/command/handler.rs:34:30
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse)?;
| ^^^^^^^^^^^^^^^^ expected an `FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`
|
= help: the trait `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` is not implemented for `syn::token::Comma`
= help: the trait `syn::parse::Peek` is implemented for `syn::ext::private::PeekFn`
= note: required for `syn::token::Comma` to implement `syn::parse::Peek`
|
no field `lit` on type `syn::MetaNameValue`:
core/tauri-macros/src/command/wrapper.rs#L49
error[E0609]: no field `lit` on type `syn::MetaNameValue`
--> core/tauri-macros/src/command/wrapper.rs:49:36
|
49 | if let Lit::Str(s) = v.lit {
| ^^^ unknown field
|
= note: available fields are: `path`, `eq_token`, `value`
|
no field `lit` on type `syn::MetaNameValue`:
core/tauri-macros/src/command/wrapper.rs#L36
error[E0609]: no field `lit` on type `syn::MetaNameValue`
--> core/tauri-macros/src/command/wrapper.rs:36:36
|
36 | if let Lit::Str(s) = v.lit {
| ^^^ unknown field
|
= note: available fields are: `path`, `eq_token`, `value`
|
this method takes 2 arguments but 1 argument was supplied:
core/tauri-macros/src/command/handler.rs#L34
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> core/tauri-macros/src/command/handler.rs:34:30
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- an argument of type `syn::token::Comma` is missing
|
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.28/src/parse.rs:739:12
|
739 | pub fn parse_terminated<T, P>(
| ^^^^^^^^^^^^^^^^
help: provide the argument
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse, /* syn::token::Comma */)?;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
expected a `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`:
core/tauri-macros/src/command/handler.rs#L34
error[E0277]: expected a `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`
--> core/tauri-macros/src/command/handler.rs:34:30
|
34 | let command_defs = input.parse_terminated::<CommandDef, Token![,]>(CommandDef::parse)?;
| ^^^^^^^^^^^^^^^^ expected an `FnOnce<(syn::lookahead::TokenMarker,)>` closure, found `syn::token::Comma`
|
= help: the trait `std::ops::FnOnce<(syn::lookahead::TokenMarker,)>` is not implemented for `syn::token::Comma`
= help: the trait `syn::parse::Peek` is implemented for `syn::ext::private::PeekFn`
= note: required for `syn::token::Comma` to implement `syn::parse::Peek`
|
audit-js
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
audit-rust
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|