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

refactor permit #449

Closed
wants to merge 2 commits into from

add too many args attr

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

refactor permit #449

add too many args attr
a30c055
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Dec 11, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

contracts/src/token/erc20/extensions/permit.rs|105 col 1| warning: unexpected cfg condition value: export-abi
--> contracts/src/token/erc20/extensions/permit.rs:105:1
|
105 | #[public]
| ^^^^^^^^^
|
= note: expected values for feature are: std
= help: consider adding export-abi as a feature in Cargo.toml
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
= note: this warning originates in the attribute macro public (in Nightly builds, run with -Z macro-backtrace for more info)

Filtered Findings (0)

Annotations

Check warning on line 105 in contracts/src/token/erc20/extensions/permit.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc20/extensions/permit.rs#L105

warning: unexpected `cfg` condition value: `export-abi`
   --> contracts/src/token/erc20/extensions/permit.rs:105:1
    |
105 | #[public]
    | ^^^^^^^^^
    |
    = note: expected values for `feature` are: `std`
    = help: consider adding `export-abi` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: this warning originates in the attribute macro `public` (in Nightly builds, run with -Z macro-backtrace for more info)
Raw output
contracts/src/token/erc20/extensions/permit.rs:105:1:w:warning: unexpected `cfg` condition value: `export-abi`
   --> contracts/src/token/erc20/extensions/permit.rs:105:1
    |
105 | #[public]
    | ^^^^^^^^^
    |
    = note: expected values for `feature` are: `std`
    = help: consider adding `export-abi` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: this warning originates in the attribute macro `public` (in Nightly builds, run with -Z macro-backtrace for more info)


__END__