Skip to content
Myr

Ignore struct_field_names pedantic clippy lint

Before adoption: this commit came in with the history the project adopted, so no landing records it.

warning: all fields have the same prefix: `object` --> src/error.rs:595:1 | 595 | / struct ErrorVTable { 596 | | object_drop: unsafe fn(Own<ErrorImpl>), 597 | | object_ref: unsafe fn(Ref<ErrorImpl>) -> Ref<dyn StdError + Send + Sync + 'static>, 598 | | #[cfg(all(feature = "std", anyhow_no_ptr_addr_of))] ... | 606 | | object_backtrace: unsafe fn(Ref<ErrorImpl>) -> Option<&Backtrace>, 607 | | } | |_^ | = help: remove the prefixes = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names = note: `-W clippy::struct-field-names` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::struct_field_names)]`

authored by David Tolnay · committed by David Tolnay · parent 98921f8 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/lib.rs+1 added
227 unmodified lines
228 clippy::needless_doctest_main,229 clippy::new_ret_no_self,230 clippy::redundant_else,231 clippy::return_self_not_must_use,232 clippy::struct_field_names,233 clippy::unused_self,234 clippy::used_underscore_binding,235 clippy::wildcard_imports,236 clippy::wrong_self_convention
454 unmodified lines