serde/serde_derive_internals
David Tolnay 74fe70855f
Ignore return_self_not_must_use pedantic clippy lint
warning: missing `#[must_use]` attribute on a method returning `Self`
       --> serde_derive_internals/src/attr.rs:204:5
        |
    204 | /     pub fn or(self, other_rules: Self) -> Self {
    205 | |         Self {
    206 | |             serialize: self.serialize.or(other_rules.serialize),
    207 | |             deserialize: self.deserialize.or(other_rules.deserialize),
    208 | |         }
    209 | |     }
        | |_____^
        |
        = help: consider adding the `#[must_use]` attribute to the method or directly to the `Self` type
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
        = note: `-W clippy::return-self-not-must-use` implied by `-W clippy::pedantic`

    warning: missing `#[must_use]` attribute on a method returning `Self`
       --> serde_derive_internals/src/case.rs:112:5
        |
    112 | /     pub fn or(self, rule_b: Self) -> Self {
    113 | |         match self {
    114 | |             None => rule_b,
    115 | |             _ => self,
    116 | |         }
    117 | |     }
        | |_____^
        |
        = help: consider adding the `#[must_use]` attribute to the method or directly to the `Self` type
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
2023-07-27 00:51:57 -07:00
..
build.rs Prevent build.rs rerunning unnecessarily on all source changes 2022-12-12 14:37:41 -08:00
Cargo.toml Opt in to generate-link-to-definition when building on docs.rs 2023-07-20 22:19:03 -07:00
lib.rs Ignore return_self_not_must_use pedantic clippy lint 2023-07-27 00:51:57 -07:00
LICENSE-APACHE Replace "codegen" with "derive" 2017-04-14 15:42:27 -07:00
LICENSE-MIT Replace "codegen" with "derive" 2017-04-14 15:42:27 -07:00
src Move derive internals into serde_derive crate 2018-05-05 23:46:30 -07:00