Parametric tests unified syntax #1839
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (3)
contracts/parametric-tests/adder-pt/src/adder_proxy.rs|47 col 15| error[E0405]: cannot find trait CodecInto
in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:47:15
|
47 | Arg0: CodecInto<BigUintEnv::Api>,
| ^^^^^^^^^ not found in this scope
contracts/parametric-tests/adder-pt/src/adder_proxy.rs|69 col 15| error[E0405]: cannot find trait CodecInto
in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:69:15
|
69 | Arg0: CodecInto<BigUintEnv::Api>,
| ^^^^^^^^^ not found in this scope
contracts/parametric-tests/adder-pt/src/adder_proxy.rs|100 col 15| error[E0405]: cannot find trait CodecInto
in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:100:15
|
100 | Arg0: CodecInto<BigUintEnv::Api>,
| ^^^^^^^^^ not found in this scope
Filtered Findings (1)
framework/base/src/storage/mappers/vec_mapper.rs|15 col 33| warning: importing legacy numeric constants
--> framework/base/src/storage/mappers/vec_mapper.rs:15:33
|
15 | use core::{marker::PhantomData, usize};
| ^^^^^
|
= help: remove this import
= note: then usize::<CONST>
will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: #[warn(clippy::legacy_numeric_constants)]
on by default
Annotations
Check failure on line 47 in contracts/parametric-tests/adder-pt/src/adder_proxy.rs
github-actions / clippy
[clippy] contracts/parametric-tests/adder-pt/src/adder_proxy.rs#L47
error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:47:15
|
47 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
Raw output
contracts/parametric-tests/adder-pt/src/adder_proxy.rs:47:15:e:error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:47:15
|
47 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
__END__
Check failure on line 69 in contracts/parametric-tests/adder-pt/src/adder_proxy.rs
github-actions / clippy
[clippy] contracts/parametric-tests/adder-pt/src/adder_proxy.rs#L69
error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:69:15
|
69 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
Raw output
contracts/parametric-tests/adder-pt/src/adder_proxy.rs:69:15:e:error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:69:15
|
69 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
__END__
Check failure on line 100 in contracts/parametric-tests/adder-pt/src/adder_proxy.rs
github-actions / clippy
[clippy] contracts/parametric-tests/adder-pt/src/adder_proxy.rs#L100
error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:100:15
|
100 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
Raw output
contracts/parametric-tests/adder-pt/src/adder_proxy.rs:100:15:e:error[E0405]: cannot find trait `CodecInto` in this scope
--> contracts/parametric-tests/adder-pt/src/adder_proxy.rs:100:15
|
100 | Arg0: CodecInto<BigUint<Env::Api>>,
| ^^^^^^^^^ not found in this scope
__END__