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

redesign idea for more customizability #1754

Closed
wants to merge 1 commit into from

refactor

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

redesign idea for more customizability #1754

refactor
af917db
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Aug 29, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

contracts/examples/adder/interact/src/basic_interact.rs|13 col 7| warning: constant ERROR_NOT_OWNER is never used
--> contracts/examples/adder/interact/src/basic_interact.rs:13:7
|
13 | const ERROR_NOT_OWNER: ExpectError = ExpectError(4u64, "upgrade is allowed only for owner");
| ^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default

Filtered Findings (0)

Annotations

Check warning on line 13 in contracts/examples/adder/interact/src/basic_interact.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/adder/interact/src/basic_interact.rs#L13

warning: constant `ERROR_NOT_OWNER` is never used
  --> contracts/examples/adder/interact/src/basic_interact.rs:13:7
   |
13 | const ERROR_NOT_OWNER: ExpectError = ExpectError(4u64, "upgrade is allowed only for owner");
   |       ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
Raw output
contracts/examples/adder/interact/src/basic_interact.rs:13:7:w:warning: constant `ERROR_NOT_OWNER` is never used
  --> contracts/examples/adder/interact/src/basic_interact.rs:13:7
   |
13 | const ERROR_NOT_OWNER: ExpectError = ExpectError(4u64, "upgrade is allowed only for owner");
   |       ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default


__END__