Update Public Suffix List to 46ac7a8060f29bd6e9ad047c8961f54a634f042cb66381894f39f442e077afd6 #875
GitHub Actions / clippy
succeeded
Feb 7, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (f067fd608 2024-02-05)
- cargo 1.78.0-nightly (cdf84b69d 2024-02-02)
- clippy 0.1.77 (f067fd6 2024-02-05)
Annotations
Check warning on line 147 in src/error.rs
github-actions / clippy
function cannot return without recursing
warning: function cannot return without recursing
--> src/error.rs:145:5
|
145 | / fn eq(&self, other: &ErrorKind) -> bool {
146 | | *self == other
147 | | }
| |_____^
|
note: recursive call site
--> src/error.rs:146:9
|
146 | *self == other
| ^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
= note: `#[warn(clippy::unconditional_recursion)]` implied by `#[warn(clippy::all)]`
Check warning on line 23 in src/config/redirect.rs
github-actions / clippy
this `impl` can be derived
warning: this `impl` can be derived
--> src/config/redirect.rs:19:1
|
19 | / impl Default for RedirectPolicy {
20 | | fn default() -> Self {
21 | | RedirectPolicy::None
22 | | }
23 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` implied by `#[warn(clippy::all)]`
= help: remove the manual implementation...
help: ...and instead derive it...
|
5 + #[derive(Default)]
6 | pub enum RedirectPolicy {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ None,
|
Check warning on line 170 in src/handler.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/handler.rs:170:42
|
170 | easy.get_mut().span.record("id", &id);
| ^^^ help: change this to: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
note: the lint level is defined here
--> src/lib.rs:240:5
|
240 | clippy::all
| ^^^^^^^^^^^
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` implied by `#[warn(clippy::all)]`
Loading