custom encode/decode #478
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (9)
multisig/tests/multisig_rust_test.rs|50 col 25| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:25
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
= note: #[warn(clippy::zero_prefixed_literal)]
on by default
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 0o1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 29| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:29
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 0o2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 33| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:33
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 02, 0o3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 37| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:37
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 02, 03, 0o4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 41| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:41
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 04, 5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 02, 03, 04, 0o5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 45| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:45
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 04, 05, 6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 02, 03, 04, 05, 0o6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 49| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:49
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use 0o
|
50 | 01, 02, 03, 04, 05, 06, 0o7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
multisig/tests/multisig_rust_test.rs|50 col 53| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:53
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 8, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
multisig/tests/multisig_rust_test.rs|50 col 57| warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:57
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the 0
to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
Filtered Findings (0)
Annotations
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:25
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
= note: `#[warn(clippy::zero_prefixed_literal)]` on by default
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 0o1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:25:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:25
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
= note: `#[warn(clippy::zero_prefixed_literal)]` on by default
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 0o1, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:29
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 0o2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:29:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:29
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 0o2, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:33
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 0o3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:33:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:33
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 0o3, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:37
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 0o4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:37:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:37
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 0o4, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:41
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 0o5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:41:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:41
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 0o5, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:45
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 05, 0o6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:45:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:45
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 05, 0o6, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:49
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 05, 06, 0o7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
Raw output
multisig/tests/multisig_rust_test.rs:50:49:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:49
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
help: if you mean to use an octal constant, use `0o`
|
50 | 01, 02, 03, 04, 05, 06, 0o7, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~~~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:53
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 8, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
Raw output
multisig/tests/multisig_rust_test.rs:50:53:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:53
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 8, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
__END__
Check warning on line 50 in multisig/tests/multisig_rust_test.rs
github-actions / clippy
[clippy] multisig/tests/multisig_rust_test.rs#L50
warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:57
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
Raw output
multisig/tests/multisig_rust_test.rs:50:57:w:warning: this is a decimal constant
--> multisig/tests/multisig_rust_test.rs:50:57
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
50 | 01, 02, 03, 04, 05, 06, 07, 08, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
| ~
__END__