feat: erc165 support interface #689
check-wasm.yml
on: pull_request
Check WASM binary
48s
Annotations
12 warnings
[clippy] contracts-proc/src/interface.rs#L13:
contracts-proc/src/interface.rs#L13
warning: this argument is passed by value, but not consumed in the function body
--> contracts-proc/src/interface.rs:13:32
|
13 | pub(crate) fn interface(_attr: TokenStream, input: TokenStream) -> TokenStream {
| ^^^^^^^^^^^ help: consider taking a reference instead: `&TokenStream`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
[clippy] contracts-proc/src/interface.rs#L51:
contracts-proc/src/interface.rs#L51
warning: wildcard matches only a single variant and will also match any future added variants
--> contracts-proc/src/interface.rs:51:17
|
51 | _ => None,
| ^ help: try: `FnArg::Receiver(_)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
= note: `-W clippy::match-wildcard-for-single-variants` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::match_wildcard_for_single_variants)]`
|
[clippy] contracts-proc/src/lib.rs#L3:
contracts-proc/src/lib.rs#L3
warning: missing documentation for the crate
--> contracts-proc/src/lib.rs:3:1
|
3 | / extern crate proc_macro;
4 | | use proc_macro::TokenStream;
5 | |
6 | | /// Shorthand to print nice errors.
... |
22 | | interface::interface(attr, input)
23 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
[clippy] contracts-proc/src/interface.rs#L13:
contracts-proc/src/interface.rs#L13
warning: this argument is passed by value, but not consumed in the function body
--> contracts-proc/src/interface.rs:13:32
|
13 | pub(crate) fn interface(_attr: TokenStream, input: TokenStream) -> TokenStream {
| ^^^^^^^^^^^ help: consider taking a reference instead: `&TokenStream`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
[clippy] contracts-proc/src/interface.rs#L51:
contracts-proc/src/interface.rs#L51
warning: wildcard matches only a single variant and will also match any future added variants
--> contracts-proc/src/interface.rs:51:17
|
51 | _ => None,
| ^ help: try: `FnArg::Receiver(_)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
= note: `-W clippy::match-wildcard-for-single-variants` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::match_wildcard_for_single_variants)]`
|
[clippy] contracts-proc/src/lib.rs#L3:
contracts-proc/src/lib.rs#L3
warning: missing documentation for the crate
--> contracts-proc/src/lib.rs:3:1
|
3 | / extern crate proc_macro;
4 | | use proc_macro::TokenStream;
5 | |
6 | | /// Shorthand to print nice errors.
... |
22 | | interface::interface(attr, input)
23 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
[clippy] contracts-proc/src/interface.rs#L13:
contracts-proc/src/interface.rs#L13
warning: this argument is passed by value, but not consumed in the function body
--> contracts-proc/src/interface.rs:13:32
|
13 | pub(crate) fn interface(_attr: TokenStream, input: TokenStream) -> TokenStream {
| ^^^^^^^^^^^ help: consider taking a reference instead: `&TokenStream`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
[clippy] contracts-proc/src/interface.rs#L51:
contracts-proc/src/interface.rs#L51
warning: wildcard matches only a single variant and will also match any future added variants
--> contracts-proc/src/interface.rs:51:17
|
51 | _ => None,
| ^ help: try: `FnArg::Receiver(_)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
= note: `-W clippy::match-wildcard-for-single-variants` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::match_wildcard_for_single_variants)]`
|
[clippy] contracts-proc/src/lib.rs#L3:
contracts-proc/src/lib.rs#L3
warning: missing documentation for the crate
--> contracts-proc/src/lib.rs:3:1
|
3 | / extern crate proc_macro;
4 | | use proc_macro::TokenStream;
5 | |
6 | | /// Shorthand to print nice errors.
... |
22 | | interface::interface(attr, input)
23 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
[clippy] contracts-proc/src/interface.rs#L13:
contracts-proc/src/interface.rs#L13
warning: this argument is passed by value, but not consumed in the function body
--> contracts-proc/src/interface.rs:13:32
|
13 | pub(crate) fn interface(_attr: TokenStream, input: TokenStream) -> TokenStream {
| ^^^^^^^^^^^ help: consider taking a reference instead: `&TokenStream`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
[clippy] contracts-proc/src/interface.rs#L51:
contracts-proc/src/interface.rs#L51
warning: wildcard matches only a single variant and will also match any future added variants
--> contracts-proc/src/interface.rs:51:17
|
51 | _ => None,
| ^ help: try: `FnArg::Receiver(_)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
= note: `-W clippy::match-wildcard-for-single-variants` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::match_wildcard_for_single_variants)]`
|
[clippy] contracts-proc/src/lib.rs#L3:
contracts-proc/src/lib.rs#L3
warning: missing documentation for the crate
--> contracts-proc/src/lib.rs:3:1
|
3 | / extern crate proc_macro;
4 | | use proc_macro::TokenStream;
5 | |
6 | | /// Shorthand to print nice errors.
... |
22 | | interface::interface(attr, input)
23 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|