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.113
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.114
Choose a head ref
  • 4 commits
  • 7 files changed
  • 1 contributor

Commits on Feb 8, 2024

  1. Remove unused Float::is_sign_negative trait method

        warning: method `is_sign_negative` is never used
           --> src/lexical/num.rs:251:8
            |
        175 | pub trait Float: Number {
            |           ----- method in this trait
        ...
        251 |     fn is_sign_negative(self) -> bool;
            |        ^^^^^^^^^^^^^^^^
            |
            = note: `#[warn(dead_code)]` on by default
    dtolnay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ca05f69 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Ignore incompatible_msrv clippy false positives in test

    rust-lang/rust-clippy#12257
    
        warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0`
            --> tests/test.rs:2500:25
             |
        2500 |         assert_ne!(rand.hash_one(k1), rand.hash_one(k2));
             |                         ^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
             = note: `-W clippy::incompatible-msrv` implied by `-W clippy::all`
             = help: to override `-W clippy::all` add `#[allow(clippy::incompatible_msrv)]`
    
        warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0`
            --> tests/test.rs:2500:44
             |
        2500 |         assert_ne!(rand.hash_one(k1), rand.hash_one(k2));
             |                                            ^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
    
        warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0`
            --> tests/test.rs:2503:25
             |
        2503 |         assert_eq!(rand.hash_one(k1), rand.hash_one(k2));
             |                         ^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
    
        warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0`
            --> tests/test.rs:2503:44
             |
        2503 |         assert_eq!(rand.hash_one(k1), rand.hash_one(k2));
             |                                            ^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
    dtolnay committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    34a04c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Work around prelude redundant import warnings

    rust-lang/rust#117772
    
        warning: the item `String` is imported redundantly
           --> src/de.rs:8:5
            |
        8   | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
            |
            = note: `#[warn(unused_imports)]` on by default
    
        warning: the item `Vec` is imported redundantly
           --> src/de.rs:9:5
            |
        9   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `Box` is imported redundantly
           --> src/error.rs:4:5
            |
        4   | use alloc::boxed::Box;
            |     ^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Box` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/error.rs:5:21
            |
        5   | use alloc::string::{String, ToString};
            |                     ^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `ToString` is imported redundantly
           --> src/error.rs:5:29
            |
        5   | use alloc::string::{String, ToString};
            |                             ^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToString` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/map.rs:10:5
            |
        10  | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `indexmap` is imported redundantly
          --> src/map.rs:23:16
           |
        23 | use indexmap::{self, IndexMap};
           |                ^^^^ the item `indexmap` is already defined here
           |
           = note: `#[warn(unused_imports)]` on by default
    
        warning: the item `String` is imported redundantly
           --> src/ser.rs:5:21
            |
        5   | use alloc::string::{String, ToString};
            |                     ^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `ToString` is imported redundantly
           --> src/ser.rs:5:29
            |
        5   | use alloc::string::{String, ToString};
            |                             ^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToString` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/ser.rs:6:5
            |
        6   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/mod.rs:95:5
            |
        95  | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/value/mod.rs:96:5
            |
        96  | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `ToOwned` is imported redundantly
           --> src/value/de.rs:5:26
            |
        5   | use alloc::borrow::{Cow, ToOwned};
            |                          ^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToOwned` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/de.rs:6:5
            |
        6   | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/value/de.rs:9:24
            |
        9   | use alloc::vec::{self, Vec};
            |                        ^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/from.rs:5:21
            |
        5   | use alloc::string::{String, ToString};
            |                     ^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `ToString` is imported redundantly
           --> src/value/from.rs:5:29
            |
        5   | use alloc::string::{String, ToString};
            |                             ^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToString` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/value/from.rs:6:5
            |
        6   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `ToOwned` is imported redundantly
           --> src/value/index.rs:3:5
            |
        3   | use alloc::borrow::ToOwned;
            |     ^^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToOwned` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/index.rs:4:5
            |
        4   | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/partial_eq.rs:2:5
            |
        2   | use alloc::string::String;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `ToOwned` is imported redundantly
           --> src/value/ser.rs:4:5
            |
        4   | use alloc::borrow::ToOwned;
            |     ^^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToOwned` is already defined here
    
        warning: the item `String` is imported redundantly
           --> src/value/ser.rs:5:21
            |
        5   | use alloc::string::{String, ToString};
            |                     ^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `String` is already defined here
    
        warning: the item `ToString` is imported redundantly
           --> src/value/ser.rs:5:29
            |
        5   | use alloc::string::{String, ToString};
            |                             ^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToString` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/value/ser.rs:6:5
            |
        6   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `Vec` is imported redundantly
           --> src/read.rs:2:5
            |
        2   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
    
        warning: the item `ToString` is imported redundantly
           --> tests/test.rs:46:5
            |
        46  | use std::string::ToString;
            |     ^^^^^^^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `ToString` is already defined here
            |
            = note: `#[warn(unused_imports)]` on by default
    
        warning: the item `Vec` is imported redundantly
           --> tests/../src/lexical/bignum.rs:6:5
            |
        6   | use alloc::vec::Vec;
            |     ^^^^^^^^^^^^^^^
            |
           ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
            |
        125 |     pub use super::v1::*;
            |             --------- the item `Vec` is already defined here
            |
            = note: `#[warn(unused_imports)]` on by default
    dtolnay committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    6fb7026 View commit details
    Browse the repository at this point in the history
  2. Release 1.0.114

    dtolnay committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    e1b3a6d View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy