Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serde-rs/json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.80
Choose a base ref
...
head repository: serde-rs/json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.81
Choose a head ref
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on May 1, 2022

  1. Resolve type_repetition_in_bounds clippy lint

        error: this type has already been used as a bound predicate
           --> src/value/ser.rs:278:9
            |
        278 |         T: Display,
            |         ^^^^^^^^^^
            |
            = note: `-D clippy::type-repetition-in-bounds` implied by `-D clippy::pedantic`
            = help: consider combining the bounds: `T: Sized + Display`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
    
        error: this type has already been used as a bound predicate
           --> src/value/ser.rs:611:9
            |
        611 |         T: Display,
            |         ^^^^^^^^^^
            |
            = help: consider combining the bounds: `T: Sized + Display`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
    dtolnay committed May 1, 2022
    Configuration menu
    Copy the full SHA
    048a64c View commit details
    Browse the repository at this point in the history
  2. Ignore trait_duplication_in_bounds clippy false positives

    rust-lang/rust-clippy#8757
    
        error: this trait bound is already specified in the where clause
          --> tests/regression/issue845.rs:13:8
           |
        13 |     T: TryFrom<u64> + TryFrom<i64> + FromStr,
           |        ^^^^^^^^^^^^
           |
           = note: `-D clippy::trait-duplication-in-bounds` implied by `-D clippy::pedantic`
           = help: consider removing this trait bound
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
    
        error: this trait bound is already specified in the where clause
          --> tests/regression/issue845.rs:14:33
           |
        14 |     <T as TryFrom<u64>>::Error: Display,
           |                                 ^^^^^^^
           |
           = help: consider removing this trait bound
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
    
        error: this trait bound is already specified in the where clause
          --> tests/regression/issue845.rs:49:8
           |
        49 |     T: TryFrom<u64> + TryFrom<i64> + FromStr,
           |        ^^^^^^^^^^^^
           |
           = help: consider removing this trait bound
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
    
        error: this trait bound is already specified in the where clause
          --> tests/regression/issue845.rs:50:33
           |
        50 |     <T as TryFrom<u64>>::Error: Display,
           |                                 ^^^^^^^
           |
           = help: consider removing this trait bound
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
    dtolnay committed May 1, 2022
    Configuration menu
    Copy the full SHA
    c0f9343 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Configuration menu
    Copy the full SHA
    27939bb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #885 from cuviper/indexmap-std

    Explicitly enable indexmap/std
    dtolnay authored May 3, 2022
    Configuration menu
    Copy the full SHA
    f34ef95 View commit details
    Browse the repository at this point in the history
  3. Make it clearer that preserve_order implies a std dependency

    As indicated in the summary of #885.
    dtolnay committed May 3, 2022
    Configuration menu
    Copy the full SHA
    6c3dfe9 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.81

    dtolnay committed May 3, 2022
    Configuration menu
    Copy the full SHA
    a0ea937 View commit details
    Browse the repository at this point in the history
Loading