Skip to content

Update to version 0.7 of winter-math #74

Update to version 0.7 of winter-math

Update to version 0.7 of winter-math #74

GitHub Actions / clippy succeeded Oct 27, 2023 in 1s

clippy

8 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 8
Note 0
Help 0

Versions

  • rustc 1.75.0-nightly (aa1a71e9e 2023-10-26)
  • cargo 1.75.0-nightly (df3509237 2023-10-24)
  • clippy 0.1.75 (aa1a71e 2023-10-26)

Annotations

Check warning on line 57 in src/stark.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified

warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
  --> src/stark.rs:57:5
   |
57 |     async fn prove(
   |     ^^^^^
   |
   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
   = note: `#[warn(async_fn_in_trait)]` on by default
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
   |
57 ~     fn prove(
58 |         &self,
59 |         options: ProofOptions,
60 |         witness: Self::Witness,
61 ~     ) -> impl std::future::Future<Output = Result<Proof<Self>, ProvingError>> + Send {async {
62 |         default_prove(self, options, witness)
63 ~     } }
   |

Check warning on line 57 in src/stark.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified

warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
  --> src/stark.rs:57:5
   |
57 |     async fn prove(
   |     ^^^^^
   |
   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
   = note: `#[warn(async_fn_in_trait)]` on by default
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
   |
57 ~     fn prove(
58 |         &self,
59 |         options: ProofOptions,
60 |         witness: Self::Witness,
61 ~     ) -> impl std::future::Future<Output = Result<Proof<Self>, ProvingError>> + Send {async {
62 |         default_prove(self, options, witness)
63 ~     } }
   |

Check warning on line 183 in src/prover.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item in documentation is missing backticks

warning: item in documentation is missing backticks
   --> src/prover.rs:183:28
    |
183 | /// Bit reverses the first ce_domain_size many values of the matrix columns.
    |                            ^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
note: the lint level is defined here
   --> src/lib.rs:1:22
    |
1   | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
    |                      ^^^^^^^^^^^^^^^^
    = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]`
help: try
    |
183 | /// Bit reverses the first `ce_domain_size` many values of the matrix columns.
    |                            ~~~~~~~~~~~~~~~~

Check warning on line 183 in src/prover.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item in documentation is missing backticks

warning: item in documentation is missing backticks
   --> src/prover.rs:183:28
    |
183 | /// Bit reverses the first ce_domain_size many values of the matrix columns.
    |                            ^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
note: the lint level is defined here
   --> src/lib.rs:1:22
    |
1   | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
    |                      ^^^^^^^^^^^^^^^^
    = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]`
help: try
    |
183 | /// Bit reverses the first `ce_domain_size` many values of the matrix columns.
    |                            ~~~~~~~~~~~~~~~~

Check warning on line 28 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `return_position_impl_trait_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable

warning: the feature `return_position_impl_trait_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable
  --> src/lib.rs:28:5
   |
28 |     return_position_impl_trait_in_trait,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 23 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `async_fn_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable

warning: the feature `async_fn_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable
  --> src/lib.rs:23:5
   |
23 |     async_fn_in_trait,
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(stable_features)]` on by default

Check warning on line 28 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `return_position_impl_trait_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable

warning: the feature `return_position_impl_trait_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable
  --> src/lib.rs:28:5
   |
28 |     return_position_impl_trait_in_trait,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 23 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `async_fn_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable

warning: the feature `async_fn_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable
  --> src/lib.rs:23:5
   |
23 |     async_fn_in_trait,
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(stable_features)]` on by default