mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-04 13:27:38 +03:00
error: methods called `from_*` usually take no `self` --> impl/src/prop.rs:5:30 | 5 | pub(crate) fn from_field(&self) -> Option<&Field> { | ^^^^^ | = note: `-D clippy::wrong-self-convention` implied by `-D clippy::all` = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention error: methods called `from_*` usually take no `self` --> impl/src/prop.rs:51:30 | 51 | pub(crate) fn from_field(&self) -> Option<&Field> { | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT |