halo2_poseidon: Add no-std support #984
Clippy (MSRV)
4 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 4 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.60.0 (7737e0b5c 2022-04-04)
- cargo 1.60.0 (d1fd9fe 2022-03-01)
- clippy 0.1.60 (7737e0b 2022-04-04)
Annotations
Check failure on line 111 in halo2_poseidon/src/p128pow5t3.rs
github-actions / Clippy (MSRV)
cannot find type `Vec` in this scope
error[E0412]: cannot find type `Vec` in this scope
--> halo2_poseidon/src/p128pow5t3.rs:111:28
|
111 | fn constants() -> (Vec<[F; 3]>, Mds<F, 3>, Mds<F, 3>) {
| ^^^ not found in this scope
|
help: consider importing one of these items
|
71 | use alloc::vec::Vec;
|
71 | use crate::Vec;
|
Check failure on line 88 in halo2_poseidon/src/p128pow5t3.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared type `PhantomData`
error[E0433]: failed to resolve: use of undeclared type `PhantomData`
--> halo2_poseidon/src/p128pow5t3.rs:88:27
|
88 | P128Pow5T3Gen(PhantomData::default())
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
71 | use core::marker::PhantomData;
|
71 | use crate::PhantomData;
|
Check failure on line 83 in halo2_poseidon/src/p128pow5t3.rs
github-actions / Clippy (MSRV)
cannot find type `PhantomData` in this scope
error[E0412]: cannot find type `PhantomData` in this scope
--> halo2_poseidon/src/p128pow5t3.rs:83:65
|
83 | pub struct P128Pow5T3Gen<F: Field, const SECURE_MDS: usize>(PhantomData<F>);
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
71 | use core::marker::PhantomData;
|
71 | use crate::PhantomData;
|
Check failure on line 72 in halo2_poseidon/src/p128pow5t3.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared crate or module `std`
error[E0433]: failed to resolve: use of undeclared crate or module `std`
--> halo2_poseidon/src/p128pow5t3.rs:72:9
|
72 | use std::marker::PhantomData;
| ^^^ use of undeclared crate or module `std`