diff --git a/README.md b/README.md index a5364211..977655ae 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ repository and compiled from source or installed from of the nightly toolchain is supported at any given time. -It's recommended to use `nightly-2022-06-20` toolchain. -You can install it by using `rustup install nightly-2022-06-20` if you already have rustup. +It's recommended to use `nightly-2022-07-16` toolchain. +You can install it by using `rustup install nightly-2022-07-16` if you already have rustup. Then you can do: ```sh -$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-06-20 -$ cargo +nightly-2022-06-20 install --git https://github.com/rust-lang/rust-semverver +$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-07-16 +$ cargo +nightly-2022-07-16 install --git https://github.com/rust-lang/rust-semverver ``` You'd also need `cmake` for some dependencies, and a few common libraries (if you hit @@ -122,7 +122,7 @@ carried out correctly with regards to the current version of your crate on crate ```sh # install a current version of rust-semverver -cargo +nightly-2022-06-20 install --git https://github.com/rust-lang/rust-semverver +cargo +nightly-2022-07-16 install --git https://github.com/rust-lang/rust-semverver # fetch the version in the manifest of your crate (adapt this to your usecase if needed) eval "current_version=$(grep -e '^version = .*$' Cargo.toml | cut -d ' ' -f 3)" # run the semver checks and output them for convenience diff --git a/rust-toolchain b/rust-toolchain index 49269dba..1cf019c2 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,4 +1,4 @@ # NOTE: Keep in sync with nightly date on README [toolchain] -channel = "nightly-2022-06-20" +channel = "nightly-2022-07-16" components = ["llvm-tools-preview", "rustc-dev"] diff --git a/src/typeck.rs b/src/typeck.rs index d5198167..c9f2b83f 100644 --- a/src/typeck.rs +++ b/src/typeck.rs @@ -248,8 +248,10 @@ impl<'a, 'tcx> TypeComparisonContext<'a, 'tcx> { // self.relate_regions(r_b, r_a); // } - self.infcx - .resolve_regions_and_report_errors(target_def_id, &outlives_env); + if let Some(local_did) = target_def_id.as_local() { + self.infcx + .resolve_regions_and_report_errors(local_did, &outlives_env); + } let err = self .infcx diff --git a/tests/cases/addition/stdout b/tests/cases/addition/stdout index 3f8c0cbd..b99b3715 100644 --- a/tests/cases/addition/stdout +++ b/tests/cases/addition/stdout @@ -3,28 +3,23 @@ warning: technically breaking changes in `Bcd` --> addition/new.rs:3:1 | 3 | pub struct Bcd; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = note: item made public (technically breaking) warning: technically breaking changes in `b` - --> addition/new.rs:9:1 - | -9 | / pub mod b { -10 | | #[allow(dead_code)] -11 | | pub struct Cde; -12 | | } - | |_^ - | - = note: item made public (technically breaking) + --> addition/new.rs:9:1 + | +9 | pub mod b { + | ^^^^^^^^^ + | + = note: item made public (technically breaking) warning: technically breaking changes in `d` --> addition/new.rs:19:1 | -19 | / pub mod d { -20 | | -21 | | } - | |_^ +19 | pub mod d { + | ^^^^^^^^^ | = note: item made public (technically breaking) @@ -32,17 +27,15 @@ warning: path changes to `Abc` --> addition/new.rs:1:1 | 1 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = note: added definition (technically breaking) warning: path changes to `a` --> addition/new.rs:5:1 | -5 | / pub mod a { -6 | | -7 | | } - | |_^ +5 | pub mod a { + | ^^^^^^^^^ | = note: added definition (technically breaking) @@ -50,7 +43,7 @@ warning: path changes to `Cde` --> addition/new.rs:11:5 | 11 | pub struct Cde; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/cases/addition_path/stdout b/tests/cases/addition_path/stdout index 3ea7ba7f..72f8e18d 100644 --- a/tests/cases/addition_path/stdout +++ b/tests/cases/addition_path/stdout @@ -3,7 +3,7 @@ warning: path changes to `Abc` --> addition_path/new.rs:2:5 | 2 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | note: added path (technically breaking) --> addition_path/new.rs:6:13 @@ -24,10 +24,8 @@ note: added path (technically breaking) warning: path changes to `d` --> addition_path/new.rs:15:1 | -15 | / pub mod d { -16 | | -17 | | } - | |_^ +15 | pub mod d { + | ^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/cases/addition_use/stdout b/tests/cases/addition_use/stdout index b15dcadf..fbeff742 100644 --- a/tests/cases/addition_use/stdout +++ b/tests/cases/addition_use/stdout @@ -2,11 +2,8 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Def` --> addition_use/new.rs:5:1 | -5 | / pub struct Def<'a> { -6 | | pub field1: Abc, -7 | | pub field2: &'a dyn Bcd, -8 | | } - | |_^ +5 | pub struct Def<'a> { + | ^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `()`, found struct `new::Abc` (breaking) = warning: type error: expected `()`, found trait object `dyn new::Bcd` (breaking) @@ -15,7 +12,7 @@ warning: path changes to `Abc` --> addition_use/new.rs:1:1 | 1 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = note: added definition (technically breaking) @@ -23,7 +20,7 @@ warning: path changes to `Bcd` --> addition_use/new.rs:3:1 | 3 | pub trait Bcd {} - | ^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/cases/addition_use/stdout_api_guidelines b/tests/cases/addition_use/stdout_api_guidelines index 2b815c4b..c78f036f 100644 --- a/tests/cases/addition_use/stdout_api_guidelines +++ b/tests/cases/addition_use/stdout_api_guidelines @@ -2,11 +2,8 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Def` --> addition_use/new.rs:5:1 | -5 | / pub struct Def<'a> { -6 | | pub field1: Abc, -7 | | pub field2: &'a dyn Bcd, -8 | | } - | |_^ +5 | pub struct Def<'a> { + | ^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `()`, found struct `new::Abc` (breaking) = warning: type error: expected `()`, found trait object `dyn new::Bcd` (breaking) diff --git a/tests/cases/bounds/stdout b/tests/cases/bounds/stdout index feec0d0e..67d3caad 100644 --- a/tests/cases/bounds/stdout +++ b/tests/cases/bounds/stdout @@ -2,20 +2,16 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Abc` --> bounds/new.rs:1:1 | -1 | / pub struct Abc { -2 | | pub a: A, -3 | | } - | |_^ +1 | pub struct Abc { + | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: added bound: `A: std::clone::Clone` (breaking) warning: technically breaking changes in `Def` --> bounds/new.rs:5:1 | -5 | / pub struct Def { -6 | | pub d: A, -7 | | } - | |_^ +5 | pub struct Def { + | ^^^^^^^^^^^^^^^^^ | = note: removed bound: `A: std::clone::Clone` (technically breaking) @@ -35,4 +31,5 @@ warning: technically breaking changes in `def` | = note: removed bound: `A: std::clone::Clone` (technically breaking) -error: aborting due to 2 previous errors; 2 warnings emitted \ No newline at end of file +error: aborting due to 2 previous errors; 2 warnings emitted + diff --git a/tests/cases/consts/stdout b/tests/cases/consts/stdout index 36f2432a..691630a1 100644 --- a/tests/cases/consts/stdout +++ b/tests/cases/consts/stdout @@ -3,7 +3,7 @@ error: breaking changes in `A` --> consts/new.rs:1:1 | 1 | pub const A: u16 = 0; - | ^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^ | = warning: type error: expected `u8`, found `u16` (breaking) @@ -11,7 +11,7 @@ error: breaking changes in `B` --> consts/new.rs:3:1 | 3 | pub static B: u16 = 1; - | ^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u8`, found `u16` (breaking) @@ -19,7 +19,7 @@ error: breaking changes in `D` --> consts/new.rs:7:1 | 7 | pub static D: bool = true; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^ | = warning: static item made immutable (breaking) @@ -27,7 +27,7 @@ warning: non-breaking changes in `E` --> consts/new.rs:9:1 | 9 | pub static mut E: bool = true; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^ | = note: static item made mutable (non-breaking) diff --git a/tests/cases/enums/stdout b/tests/cases/enums/stdout index ee681b79..de7d1f18 100644 --- a/tests/cases/enums/stdout +++ b/tests/cases/enums/stdout @@ -2,10 +2,8 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Abc` --> enums/new.rs:1:1 | -1 | / pub enum Abc { -2 | | Abc, -3 | | } - | |_^ +1 | pub enum Abc { + | ^^^^^^^^^^^^ | warning: enum variant added (breaking) --> enums/new.rs:2:5 @@ -16,10 +14,8 @@ warning: enum variant added (breaking) error: breaking changes in `Bcd` --> enums/new.rs:5:1 | -5 | / pub enum Bcd { -6 | | -7 | | } - | |_^ +5 | pub enum Bcd { + | ^^^^^^^^^^^^ | warning: enum variant removed (breaking) --> enums/old.rs:6:5 @@ -30,11 +26,8 @@ warning: enum variant removed (breaking) error: breaking changes in `Cde` --> enums/new.rs:9:1 | -9 | / pub enum Cde { -10 | | Abc, -11 | | Bcd, -12 | | } - | |_^ +9 | pub enum Cde { + | ^^^^^^^^^^^^ | warning: enum variant added (breaking) --> enums/new.rs:11:5 @@ -45,10 +38,8 @@ warning: enum variant added (breaking) error: breaking changes in `Def` --> enums/new.rs:14:1 | -14 | / pub enum Def { -15 | | Abc, -16 | | } - | |_^ +14 | pub enum Def { + | ^^^^^^^^^^^^ | warning: enum variant removed (breaking) --> enums/old.rs:15:5 @@ -59,20 +50,14 @@ warning: enum variant removed (breaking) error: breaking changes in `Efg` --> enums/new.rs:18:1 | -18 | / pub enum Efg { -19 | | Abc(u8), -20 | | Bcd, -21 | | Cde { f: u8 }, -... | -25 | | Ghi { g: u8 }, -26 | | } - | |_^ +18 | pub enum Efg { + | ^^^^^^^^^^^^ | warning: variant with no public fields changed to a tuple variant (breaking) --> enums/new.rs:19:5 | 19 | Abc(u8), - | ^^^^^^^ + | ^^^ warning: variant with public fields changed to a tuple variant (breaking) --> enums/new.rs:20:5 | @@ -82,7 +67,7 @@ warning: variant with public fields changed to a struct variant (breaking) --> enums/new.rs:21:5 | 21 | Cde { f: u8 }, - | ^^^^^^^^^^^^^ + | ^^^ warning: variant with public fields changed to a tuple variant (breaking) --> enums/new.rs:22:5 | @@ -92,7 +77,7 @@ warning: variant with public fields changed to a struct variant (breaking) --> enums/new.rs:23:5 | 23 | Efg { f: u8 }, - | ^^^^^^^^^^^^^ + | ^^^ warning: public field removed from variant with no private fields (breaking) --> enums/old.rs:25:11 | diff --git a/tests/cases/infer_regress/stdout b/tests/cases/infer_regress/stdout index 94304d64..c4ba0725 100644 --- a/tests/cases/infer_regress/stdout +++ b/tests/cases/infer_regress/stdout @@ -12,8 +12,9 @@ error: breaking changes in `Abc` --> infer_regress/new.rs:3:1 | 3 | pub struct Abc(pub A, pub ()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^ | = warning: type error: expected type parameter `A`, found `()` (breaking) -error: aborting due to 2 previous errors \ No newline at end of file +error: aborting due to 2 previous errors + diff --git a/tests/cases/kind_change/stdout b/tests/cases/kind_change/stdout index f8d9d0dd..906e4214 100644 --- a/tests/cases/kind_change/stdout +++ b/tests/cases/kind_change/stdout @@ -2,10 +2,8 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Abc` --> kind_change/new.rs:1:1 | -1 | / pub enum Abc { -2 | | -3 | | } - | |_^ +1 | pub enum Abc { + | ^^^^^^^^^^^^ | = warning: item kind changed (breaking) diff --git a/tests/cases/macros/stdout b/tests/cases/macros/stdout index d279b2dd..4fd8c5c9 100644 --- a/tests/cases/macros/stdout +++ b/tests/cases/macros/stdout @@ -3,41 +3,49 @@ error: path changes to `qux1` --> macros/old.rs:15:1 | 15 | pub macro qux1() { Item } - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: removed definition (breaking) error: path changes to `qux2` --> macros/old.rs:18:1 | +18 | macro_rules! qux2 { + | ^^^^^^^^^^^^^^^^^ + | +warning: removed path (breaking) + --> macros/old.rs:18:1 + | 18 | / macro_rules! qux2 { 19 | | () => { 20 | | Item 21 | | } 22 | | } | |_^ - | - = warning: removed definition (breaking) warning: path changes to `quux1` --> macros/new.rs:15:1 | 15 | pub macro quux1() { Item } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^ | = note: added definition (technically breaking) warning: path changes to `quux2` --> macros/new.rs:18:1 | +18 | macro_rules! quux2 { + | ^^^^^^^^^^^^^^^^^^ + | +note: added path (technically breaking) + --> macros/new.rs:18:1 + | 18 | / macro_rules! quux2 { 19 | | () => { 20 | | Item 21 | | } 22 | | } | |_^ - | - = note: added definition (technically breaking) error: aborting due to 2 previous errors; 2 warnings emitted diff --git a/tests/cases/mix/stdout b/tests/cases/mix/stdout index 3f3a942e..69f644a0 100644 --- a/tests/cases/mix/stdout +++ b/tests/cases/mix/stdout @@ -3,7 +3,7 @@ error: breaking changes in `Abc` --> mix/new.rs:2:5 | 2 | pub enum Abc {} - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^ | = warning: item kind changed (breaking) @@ -11,7 +11,7 @@ error: breaking changes in `Def` --> mix/new.rs:3:5 | 3 | pub struct Def; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: item kind changed (breaking) @@ -19,7 +19,7 @@ error: path changes to `Abc` --> mix/new.rs:2:5 | 2 | pub enum Abc {} - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^ | warning: removed path (breaking) --> mix/old.rs:10:9 @@ -36,7 +36,7 @@ warning: path changes to `Def` --> mix/new.rs:3:5 | 3 | pub struct Def; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | note: added path (technically breaking) --> mix/new.rs:10:9 @@ -45,3 +45,4 @@ note: added path (technically breaking) | ^^^^^^^^^^^^ error: aborting due to 3 previous errors; 1 warning emitted + diff --git a/tests/cases/regions/stdout b/tests/cases/regions/stdout index 58c6eb49..fa6a3fc1 100644 --- a/tests/cases/regions/stdout +++ b/tests/cases/regions/stdout @@ -3,7 +3,7 @@ error: breaking changes in `D` --> regions/new.rs:9:1 | 9 | pub type D = ::IntoIter; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected std::iter::IntoIterator::Item, found std::iter::IntoIterator::IntoIter (breaking) @@ -11,7 +11,7 @@ error: breaking changes in `E` --> regions/new.rs:11:1 | 11 | pub type E = T; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected associated type, found type parameter `T` (breaking) @@ -48,3 +48,4 @@ error: breaking changes in `fgh` = warning: type error: one type is more general than the other (breaking) error: aborting due to 6 previous errors + diff --git a/tests/cases/removal/stdout b/tests/cases/removal/stdout index 187fe489..c903e9ce 100644 --- a/tests/cases/removal/stdout +++ b/tests/cases/removal/stdout @@ -3,7 +3,7 @@ error: path changes to `Abc` --> removal/old.rs:1:1 | 1 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: removed definition (breaking) @@ -11,27 +11,23 @@ error: breaking changes in `Bcd` --> removal/new.rs:2:1 | 2 | struct Bcd; - | ^^^^^^^^^^^ + | ^^^^^^^^^^ | = warning: item made private (breaking) error: path changes to `a` --> removal/old.rs:5:1 | -5 | / pub mod a { -6 | | -7 | | } - | |_^ +5 | pub mod a { + | ^^^^^^^^^ | = warning: removed definition (breaking) error: breaking changes in `b` --> removal/new.rs:4:1 | -4 | / mod b { -5 | | -6 | | } - | |_^ +4 | mod b { + | ^^^^^ | = warning: item made private (breaking) @@ -39,17 +35,15 @@ error: path changes to `Cde` --> removal/old.rs:11:5 | 11 | pub struct Cde; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: removed definition (breaking) error: breaking changes in `d` --> removal/new.rs:12:1 | -12 | / mod d { -13 | | -14 | | } - | |_^ +12 | mod d { + | ^^^^^ | = warning: item made private (breaking) diff --git a/tests/cases/removal_path/stdout b/tests/cases/removal_path/stdout index 1e47844d..9b8699e6 100644 --- a/tests/cases/removal_path/stdout +++ b/tests/cases/removal_path/stdout @@ -3,7 +3,7 @@ error: path changes to `Abc` --> removal_path/new.rs:2:5 | 2 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | warning: removed path (breaking) --> removal_path/old.rs:6:13 @@ -22,3 +22,4 @@ warning: removed path (breaking) | ^^^^^^^^^^^^ error: aborting due to previous error + diff --git a/tests/cases/removal_use/stdout b/tests/cases/removal_use/stdout index deed1be9..05225e04 100644 --- a/tests/cases/removal_use/stdout +++ b/tests/cases/removal_use/stdout @@ -3,7 +3,7 @@ error: path changes to `Abc` --> removal_use/old.rs:1:1 | 1 | pub struct Abc; - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: removed definition (breaking) @@ -11,18 +11,15 @@ error: path changes to `Bcd` --> removal_use/old.rs:3:1 | 3 | pub trait Bcd {} - | ^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | = warning: removed definition (breaking) error: breaking changes in `Def` --> removal_use/new.rs:1:1 | -1 | / pub struct Def<'a> { -2 | | pub field1: (), -3 | | pub field2: &'a (), -4 | | } - | |_^ +1 | pub struct Def<'a> { + | ^^^^^^^^^^^^^^^^^^ | = warning: type error: expected struct `old::Abc`, found `()` (breaking) = warning: type error: expected trait object `dyn old::Bcd`, found `()` (breaking) diff --git a/tests/cases/sealed_traits/stdout b/tests/cases/sealed_traits/stdout index 4192b297..1a300c8d 100644 --- a/tests/cases/sealed_traits/stdout +++ b/tests/cases/sealed_traits/stdout @@ -2,10 +2,8 @@ version bump: 1.0.0 -> (technically breaking) -> 1.1.0 warning: technically breaking changes in `PublicTrait` --> sealed_traits/new.rs:1:1 | -1 | / pub trait PublicTrait : private::PrivateTrait { -2 | | fn abc(&self) -> bool; -3 | | } - | |_^ +1 | pub trait PublicTrait : private::PrivateTrait { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added item to sealed trait (technically breaking) --> sealed_traits/new.rs:2:5 diff --git a/tests/cases/structs/stdout b/tests/cases/structs/stdout index 6f0fc632..299c6603 100644 --- a/tests/cases/structs/stdout +++ b/tests/cases/structs/stdout @@ -2,10 +2,8 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 warning: technically breaking changes in `Def` --> structs/new.rs:6:1 | -6 | / pub struct Def { -7 | | pub field: A, -8 | | } - | |_^ +6 | pub struct Def { + | ^^^^^^^^^^^^^^^^^^^^ | = note: defaulted type parameter added (non-breaking) note: item made public (technically breaking) @@ -17,10 +15,8 @@ note: item made public (technically breaking) error: breaking changes in `Def2` --> structs/new.rs:10:1 | -10 | / pub struct Def2 { -11 | | pub field: A, -12 | | } - | |_^ +10 | pub struct Def2 { + | ^^^^^^^^^^^^^^^^^^^^^^ | = note: defaulted type parameter added (non-breaking) = warning: type error: expected `u8`, found `u16` (breaking) @@ -28,20 +24,16 @@ error: breaking changes in `Def2` error: breaking changes in `Efg` --> structs/new.rs:14:1 | -14 | / pub struct Efg { -15 | | pub field: u16, -16 | | } - | |_^ +14 | pub struct Efg { + | ^^^^^^^^^^^^^^ | = warning: type error: expected `u8`, found `u16` (breaking) warning: technically breaking changes in `Fgh` --> structs/new.rs:18:1 | -18 | / pub struct Fgh { -19 | | pub field: u8, -20 | | } - | |_^ +18 | pub struct Fgh { + | ^^^^^^^^^^^^^^ | note: item made public (technically breaking) --> structs/new.rs:19:5 @@ -52,10 +44,8 @@ note: item made public (technically breaking) error: breaking changes in `Ghi` --> structs/new.rs:22:1 | -22 | / pub struct Ghi { -23 | | field: u8, -24 | | } - | |_^ +22 | pub struct Ghi { + | ^^^^^^^^^^^^^^ | warning: item made private (breaking) --> structs/new.rs:23:5 @@ -66,27 +56,20 @@ warning: item made private (breaking) error: breaking changes in `Hij` --> structs/new.rs:26:1 | -26 | / pub struct Hij { -27 | | field: u8, -28 | | } - | |_^ +26 | pub struct Hij { + | ^^^^^^^^^^^^^^ | warning: tuple struct with no public fields changed to a regular struct (breaking) --> structs/new.rs:26:1 | -26 | / pub struct Hij { -27 | | field: u8, -28 | | } - | |_^ +26 | pub struct Hij { + | ^^^^^^^^^^^^^^ warning: technically breaking changes in `Iij` --> structs/new.rs:30:1 | -30 | / pub struct Iij { -31 | | pub field1: u8, -32 | | pub field2: u8, -33 | | } - | |_^ +30 | pub struct Iij { + | ^^^^^^^^^^^^^^ | note: private field removed from struct with private fields (non-breaking) --> structs/old.rs:29:5 @@ -104,4 +87,5 @@ note: public field added to struct with private fields (technically breaking) 32 | pub field2: u8, | ^^^^^^^^^^^^^^ -error: aborting due to 4 previous errors; 3 warnings emitted \ No newline at end of file +error: aborting due to 4 previous errors; 3 warnings emitted + diff --git a/tests/cases/trait_impls/stdout b/tests/cases/trait_impls/stdout index ee14cabd..fbf62070 100644 --- a/tests/cases/trait_impls/stdout +++ b/tests/cases/trait_impls/stdout @@ -3,19 +3,15 @@ error: breaking changes in ` as old::Abc>` --> trait_impls/old.rs:9:1 | 9 | impl Abc for Vec { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> trait_impls/old.rs:11:1 | -11 | / impl Clone for Def { -12 | | fn clone(&self) -> Def { -13 | | Def -14 | | } -15 | | } - | |_^ +11 | impl Clone for Def { + | ^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -23,7 +19,7 @@ warning: technically breaking changes in ` as new::Abc>` --> trait_impls/new.rs:11:1 | 11 | impl Abc for Box { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -31,7 +27,7 @@ warning: technically breaking changes in ` as new::Abc --> trait_impls/new.rs:13:1 | 13 | impl Abc for Box { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -39,7 +35,7 @@ warning: technically breaking changes in `<() as new::Abc>` --> trait_impls/new.rs:15:1 | 15 | impl Abc for () { } - | ^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -47,7 +43,7 @@ warning: technically breaking changes in ` as new::Ab --> trait_impls/new.rs:17:1 | 17 | impl Abc for Cell<(bool, T)> { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) diff --git a/tests/cases/traits/stdout b/tests/cases/traits/stdout index 891d4afc..7002e6e7 100644 --- a/tests/cases/traits/stdout +++ b/tests/cases/traits/stdout @@ -1,36 +1,30 @@ version bump: 1.0.0 -> (breaking) -> 2.0.0 error: breaking changes in `Abc` - --> traits/new.rs:1:1 - | -1 | / pub trait Abc { -2 | | type A; -3 | | fn test(&self) -> u8; -4 | | fn test3(&self) -> u8; -... | -13 | | fn test9(&self) -> u8; -14 | | } - | |_^ - | + --> traits/new.rs:1:1 + | +1 | pub trait Abc { + | ^^^^^^^^^^^^^ + | warning: removed item from trait (breaking) - --> traits/old.rs:4:5 - | -4 | fn test2(&self) -> u8; - | ^^^^^^^^^^^^^^^^^^^^^^ + --> traits/old.rs:4:5 + | +4 | fn test2(&self) -> u8; + | ^^^^^^^^^^^^^^^^^^^^^^ warning: removed defaulted item from trait (breaking) - --> traits/old.rs:8:5 - | -8 | fn test5() -> u8 { - | ^^^^^^^^^^^^^^^^ + --> traits/old.rs:8:5 + | +8 | fn test5() -> u8 { + | ^^^^^^^^^^^^^^^^ warning: added item to trait (breaking) - --> traits/new.rs:4:5 - | -4 | fn test3(&self) -> u8; - | ^^^^^^^^^^^^^^^^^^^^^^ + --> traits/new.rs:4:5 + | +4 | fn test3(&self) -> u8; + | ^^^^^^^^^^^^^^^^^^^^^^ note: added defaulted item to trait (technically breaking) - --> traits/new.rs:8:5 - | -8 | fn test6() -> u8 { - | ^^^^^^^^^^^^^^^^ + --> traits/new.rs:8:5 + | +8 | fn test6() -> u8 { + | ^^^^^^^^^^^^^^^^ error: breaking changes in `test7` --> traits/new.rs:11:5 @@ -60,7 +54,7 @@ error: breaking changes in `Bcd` --> traits/new.rs:16:1 | 16 | pub trait Bcd {} - | ^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^ | = warning: type parameter added (breaking) @@ -68,29 +62,23 @@ error: breaking changes in `Cde` --> traits/new.rs:18:1 | 18 | pub trait Cde {} - | ^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | = warning: type parameter removed (breaking) error: breaking changes in `Def` --> traits/new.rs:20:1 | -20 | / pub trait Def { -21 | | // The method is not broken - the impls are, but calls should work as expected, as -22 | | // long as a proper impl is presented. Maybe this will need some more careful handling. -23 | | fn def(&self, a: B) -> bool; -24 | | } - | |_^ +20 | pub trait Def { + | ^^^^^^^^^^^^^^^^^^^ | = warning: type parameter added (breaking) error: breaking changes in `Efg` --> traits/new.rs:26:1 | -26 | / pub trait Efg { -27 | | fn efg(&self, a: A) -> bool; -28 | | } - | |_^ +26 | pub trait Efg { + | ^^^^^^^^^^^^^^^^ | = warning: type parameter removed (breaking) @@ -98,33 +86,31 @@ error: breaking changes in `Ghi` --> traits/new.rs:36:1 | 36 | pub trait Ghi { } - | ^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | warning: removed item from trait (breaking) --> traits/old.rs:35:5 | 35 | type A; - | ^^^^^^^ + | ^^^^^^ error: breaking changes in `Hij` --> traits/new.rs:38:1 | -38 | / pub trait Hij { -39 | | type A; -40 | | } - | |_^ +38 | pub trait Hij { + | ^^^^^^^^^^^^^ | warning: added item to trait (breaking) --> traits/new.rs:39:5 | 39 | type A; - | ^^^^^^^ + | ^^^^^^ error: breaking changes in `Klm` --> traits/new.rs:42:1 | 42 | pub trait Klm : Clone { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^ | = warning: added bound: `Self: std::clone::Clone` (breaking) @@ -132,7 +118,7 @@ error: breaking changes in `Nop` --> traits/new.rs:44:1 | 44 | pub trait Nop { } - | ^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | = warning: removed bound on trait definition: `Self: std::clone::Clone` (breaking) @@ -140,7 +126,7 @@ error: breaking changes in `Qrs` --> traits/new.rs:46:1 | 46 | pub trait Qrs { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: added bound: `A: std::clone::Clone` (breaking) @@ -148,7 +134,7 @@ error: breaking changes in `Tuv` --> traits/new.rs:48:1 | 48 | pub trait Tuv { } - | ^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^ | = warning: removed bound on trait definition: `A: std::clone::Clone` (breaking) diff --git a/tests/cases/ty_alias/stdout b/tests/cases/ty_alias/stdout index 6f61d37c..00e103df 100644 --- a/tests/cases/ty_alias/stdout +++ b/tests/cases/ty_alias/stdout @@ -3,7 +3,7 @@ error: breaking changes in `A` --> ty_alias/new.rs:3:1 | 3 | pub type A = u16; - | ^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^ | = warning: type error: expected `u8`, found `u16` (breaking) @@ -11,7 +11,7 @@ error: breaking changes in `B` --> ty_alias/new.rs:4:1 | 4 | pub type B<'a, 'b : 'a, T> = (&'a T, &'b T); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: region parameter added (breaking) @@ -19,7 +19,7 @@ error: breaking changes in `C` --> ty_alias/new.rs:5:1 | 5 | pub type C = T; - | ^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ | = warning: region parameter removed (breaking) @@ -27,7 +27,7 @@ error: breaking changes in `D` --> ty_alias/new.rs:6:1 | 6 | pub type D<'a, T, U=Box> = (&'a T, U); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: defaulted type parameter added (non-breaking) = warning: type error: expected `&T`, found tuple (breaking) @@ -36,7 +36,7 @@ error: breaking changes in `E` --> ty_alias/new.rs:7:1 | 7 | pub type E<'a, T, U> = (&'a T, U); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^ | = warning: type parameter added (breaking) @@ -44,7 +44,7 @@ error: breaking changes in `F` --> ty_alias/new.rs:8:1 | 8 | pub type F<'a> = &'a u8; - | ^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: defaulted type parameter removed (breaking) @@ -52,7 +52,7 @@ error: breaking changes in `G` --> ty_alias/new.rs:9:1 | 9 | pub type G<'a> = &'a u8; - | ^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = warning: type parameter removed (breaking) diff --git a/tests/full_cases/config-0.13.0-0.13.1.linux b/tests/full_cases/config-0.13.0-0.13.1.linux index 4af2d094..d7e49102 100644 --- a/tests/full_cases/config-0.13.0-0.13.1.linux +++ b/tests/full_cases/config-0.13.0-0.13.1.linux @@ -52,68 +52,42 @@ error: breaking changes in `deserialize` = note: removed bound: `T: serde::de::Deserialize<'de>` (technically breaking) error: breaking changes in `old::de:: for old::Value>` - --> config-0.13.0/src/de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0/src/de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `old::de:: for old::Config>` --> config-0.13.0/src/de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `ConfigError` --> config-0.13.1/src/error.rs:41:1 | -41 | / pub enum ConfigError { -42 | | /// Configuration is frozen and no further mutations can be made. -43 | | Frozen, -44 | | -... | -84 | | Foreign(Box), -85 | | } - | |_^ +41 | pub enum ConfigError { + | ^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected enum `nom::error::ErrorKind`, found a different enum `nom::error::ErrorKind` (breaking) error: breaking changes in `` --> config-0.13.0/src/error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -127,226 +101,130 @@ error: breaking changes in `old::file::format::json5::_::` - --> config-0.13.0/src/ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0/src/ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.0/src/ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.0/src/ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.0/src/ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.0/src/ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.0/src/ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.0/src/ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.0/src/ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -378,66 +256,40 @@ error: breaking changes in `try_deserialize` error: breaking changes in `>` --> config-0.13.0/src/value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) warning: technically breaking changes in `new::de:: for new::Value>` - --> config-0.13.1/src/de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1/src/de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `new::de:: for new::Config>` --> config-0.13.1/src/de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -451,240 +303,138 @@ warning: technically breaking changes in `new::file::format::json5::_::` - --> config-0.13.1/src/ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1/src/ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.1/src/ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.1/src/ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.1/src/ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.1/src/ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.1/src/ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.1/src/ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.1/src/ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> config-0.13.1/src/value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) diff --git a/tests/full_cases/config-0.13.0-0.13.1.osx b/tests/full_cases/config-0.13.0-0.13.1.osx index 4af2d094..d7e49102 100644 --- a/tests/full_cases/config-0.13.0-0.13.1.osx +++ b/tests/full_cases/config-0.13.0-0.13.1.osx @@ -52,68 +52,42 @@ error: breaking changes in `deserialize` = note: removed bound: `T: serde::de::Deserialize<'de>` (technically breaking) error: breaking changes in `old::de:: for old::Value>` - --> config-0.13.0/src/de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0/src/de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `old::de:: for old::Config>` --> config-0.13.0/src/de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `ConfigError` --> config-0.13.1/src/error.rs:41:1 | -41 | / pub enum ConfigError { -42 | | /// Configuration is frozen and no further mutations can be made. -43 | | Frozen, -44 | | -... | -84 | | Foreign(Box), -85 | | } - | |_^ +41 | pub enum ConfigError { + | ^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected enum `nom::error::ErrorKind`, found a different enum `nom::error::ErrorKind` (breaking) error: breaking changes in `` --> config-0.13.0/src/error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -127,226 +101,130 @@ error: breaking changes in `old::file::format::json5::_::` - --> config-0.13.0/src/ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0/src/ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.0/src/ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.0/src/ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.0/src/ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.0/src/ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.0/src/ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.0/src/ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.0/src/ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0/src/ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -378,66 +256,40 @@ error: breaking changes in `try_deserialize` error: breaking changes in `>` --> config-0.13.0/src/value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) warning: technically breaking changes in `new::de:: for new::Value>` - --> config-0.13.1/src/de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1/src/de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `new::de:: for new::Config>` --> config-0.13.1/src/de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -451,240 +303,138 @@ warning: technically breaking changes in `new::file::format::json5::_::` - --> config-0.13.1/src/ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1/src/ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.1/src/ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.1/src/ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.1/src/ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.1/src/ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.1/src/ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.1/src/ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.1/src/ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1/src/ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> config-0.13.1/src/value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) diff --git a/tests/full_cases/config-0.13.0-0.13.1.windows_msvc b/tests/full_cases/config-0.13.0-0.13.1.windows_msvc index e9c80279..d56e08b1 100644 --- a/tests/full_cases/config-0.13.0-0.13.1.windows_msvc +++ b/tests/full_cases/config-0.13.0-0.13.1.windows_msvc @@ -52,68 +52,42 @@ error: breaking changes in `deserialize` = note: removed bound: `T: serde::de::Deserialize<'de>` (technically breaking) error: breaking changes in `old::de:: for old::Value>` - --> config-0.13.0\src\de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0\src\de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `old::de:: for old::Config>` --> config-0.13.0\src\de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `ConfigError` --> config-0.13.1\src\error.rs:41:1 | -41 | / pub enum ConfigError { -42 | | /// Configuration is frozen and no further mutations can be made. -43 | | Frozen, -44 | | -... | -84 | | Foreign(Box), -85 | | } - | |_^ +41 | pub enum ConfigError { + | ^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected enum `nom::error::ErrorKind`, found a different enum `nom::error::ErrorKind` (breaking) error: breaking changes in `` --> config-0.13.0\src\error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -127,226 +101,130 @@ error: breaking changes in `old::file::format::json5::_::` - --> config-0.13.0\src\ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = warning: trait impl specialized or removed (breaking) + --> config-0.13.0\src\ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.0\src\ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.0\src\ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.0\src\ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.0\src\ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.0\src\ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.0\src\ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `<&'a mut old::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.0\src\ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `` --> config-0.13.0\src\ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -378,66 +256,40 @@ error: breaking changes in `try_deserialize` error: breaking changes in `>` --> config-0.13.0\src\value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) warning: technically breaking changes in `new::de:: for new::Value>` - --> config-0.13.1\src\de.rs:11:1 - | -11 | / impl<'de> de::Deserializer<'de> for Value { -12 | | type Error = ConfigError; -13 | | -14 | | #[inline] -... | -145 | | } -146 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1\src\de.rs:11:1 + | +11 | impl<'de> de::Deserializer<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `new::de:: for new::Config>` --> config-0.13.1\src\de.rs:340:1 | -340 | / impl<'de> de::Deserializer<'de> for Config { -341 | | type Error = ConfigError; -342 | | -343 | | #[inline] -... | -467 | | } -468 | | } - | |_^ +340 | impl<'de> de::Deserializer<'de> for Config { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\error.rs:234:1 | -234 | / impl de::Error for ConfigError { -235 | | fn custom(msg: T) -> Self { -236 | | Self::Message(msg.to_string()) -237 | | } -238 | | } - | |_^ +234 | impl de::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\error.rs:240:1 | -240 | / impl ser::Error for ConfigError { -241 | | fn custom(msg: T) -> Self { -242 | | Self::Message(msg.to_string()) -243 | | } -244 | | } - | |_^ +240 | impl ser::Error for ConfigError { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) @@ -451,249 +303,147 @@ warning: technically breaking changes in `new::file::format::json5::_::` - --> config-0.13.1\src\ser.rs:85:1 - | -85 | / impl<'a> ser::Serializer for &'a mut ConfigSerializer { -86 | | type Ok = (); -87 | | type Error = ConfigError; -88 | | type SerializeSeq = Self; -... | -260 | | } -261 | | } - | |_^ - | - = note: trait impl generalized or newly added (technically breaking) + --> config-0.13.1\src\ser.rs:85:1 + | +85 | impl<'a> ser::Serializer for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeSeq>` --> config-0.13.1\src\ser.rs:263:1 | -263 | / impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { -264 | | type Ok = (); -265 | | type Error = ConfigError; -266 | | -... | -278 | | } -279 | | } - | |_^ +263 | impl<'a> ser::SerializeSeq for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTuple>` --> config-0.13.1\src\ser.rs:281:1 | -281 | / impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { -282 | | type Ok = (); -283 | | type Error = ConfigError; -284 | | -... | -296 | | } -297 | | } - | |_^ +281 | impl<'a> ser::SerializeTuple for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleStruct>` --> config-0.13.1\src\ser.rs:299:1 | -299 | / impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { -300 | | type Ok = (); -301 | | type Error = ConfigError; -302 | | -... | -314 | | } -315 | | } - | |_^ +299 | impl<'a> ser::SerializeTupleStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeTupleVariant>` --> config-0.13.1\src\ser.rs:317:1 | -317 | / impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { -318 | | type Ok = (); -319 | | type Error = ConfigError; -320 | | -... | -333 | | } -334 | | } - | |_^ +317 | impl<'a> ser::SerializeTupleVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeMap>` --> config-0.13.1\src\ser.rs:336:1 | -336 | / impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { -337 | | type Ok = (); -338 | | type Error = ConfigError; -339 | | -... | -361 | | } -362 | | } - | |_^ +336 | impl<'a> ser::SerializeMap for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStruct>` --> config-0.13.1\src\ser.rs:364:1 | -364 | / impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { -365 | | type Ok = (); -366 | | type Error = ConfigError; -367 | | -... | -380 | | } -381 | | } - | |_^ +364 | impl<'a> ser::SerializeStruct for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `<&'a mut new::ser::ConfigSerializer as serde::ser::SerializeStructVariant>` --> config-0.13.1\src\ser.rs:383:1 | -383 | / impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { -384 | | type Ok = (); -385 | | type Error = ConfigError; -386 | | -... | -400 | | } -401 | | } - | |_^ +383 | impl<'a> ser::SerializeStructVariant for &'a mut ConfigSerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:405:1 | -405 | / impl ser::Serializer for StringKeySerializer { -406 | | type Ok = String; -407 | | type Error = ConfigError; -408 | | type SerializeSeq = Self; -... | -576 | | } -577 | | } - | |_^ +405 | impl ser::Serializer for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:579:1 | -579 | / impl ser::SerializeSeq for StringKeySerializer { -580 | | type Ok = String; -581 | | type Error = ConfigError; -582 | | -... | -592 | | } -593 | | } - | |_^ +579 | impl ser::SerializeSeq for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:595:1 | -595 | / impl ser::SerializeTuple for StringKeySerializer { -596 | | type Ok = String; -597 | | type Error = ConfigError; -598 | | -... | -608 | | } -609 | | } - | |_^ +595 | impl ser::SerializeTuple for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:611:1 | -611 | / impl ser::SerializeTupleStruct for StringKeySerializer { -612 | | type Ok = String; -613 | | type Error = ConfigError; -614 | | -... | -624 | | } -625 | | } - | |_^ +611 | impl ser::SerializeTupleStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:627:1 | -627 | / impl ser::SerializeTupleVariant for StringKeySerializer { -628 | | type Ok = String; -629 | | type Error = ConfigError; -630 | | -... | -640 | | } -641 | | } - | |_^ +627 | impl ser::SerializeTupleVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:643:1 | -643 | / impl ser::SerializeMap for StringKeySerializer { -644 | | type Ok = String; -645 | | type Error = ConfigError; -646 | | -... | -663 | | } -664 | | } - | |_^ +643 | impl ser::SerializeMap for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:666:1 | -666 | / impl ser::SerializeStruct for StringKeySerializer { -667 | | type Ok = String; -668 | | type Error = ConfigError; -669 | | -... | -679 | | } -680 | | } - | |_^ +666 | impl ser::SerializeStruct for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `` --> config-0.13.1\src\ser.rs:682:1 | -682 | / impl ser::SerializeStructVariant for StringKeySerializer { -683 | | type Ok = String; -684 | | type Error = ConfigError; -685 | | -... | -695 | | } -696 | | } - | |_^ +682 | impl ser::SerializeStructVariant for StringKeySerializer { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> config-0.13.1\src\value.rs:679:1 | -679 | / impl<'de> Deserialize<'de> for Value { -680 | | #[inline] -681 | | fn deserialize(deserializer: D) -> ::std::result::Result -682 | | where -... | -816 | | } -817 | | } - | |_^ +679 | impl<'de> Deserialize<'de> for Value { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) error: breaking changes in `` --> config-0.13.0\src\file\format\mod.rs:60:1 | -60 | / lazy_static! { +60 | \ lazy_static! { 61 | | #[doc(hidden)] -62 | | // #[allow(unused_mut)] ? +62 | | \\ #[allow(unused_mut)] ? 63 | | pub static ref ALL_EXTENSIONS: HashMap> = { ... | 85 | | }; @@ -706,9 +456,9 @@ error: breaking changes in `` --> config-0.13.1\src\file\format\mod.rs:60:1 | -60 | / lazy_static! { +60 | \ lazy_static! { 61 | | #[doc(hidden)] -62 | | // #[allow(unused_mut)] ? +62 | | \\ #[allow(unused_mut)] ? 63 | | pub static ref ALL_EXTENSIONS: HashMap> = { ... | 85 | | }; diff --git a/tests/full_cases/libc-0.2.28-0.2.31.linux b/tests/full_cases/libc-0.2.28-0.2.31.linux index a79756a6..4b69600a 100644 --- a/tests/full_cases/libc-0.2.28-0.2.31.linux +++ b/tests/full_cases/libc-0.2.28-0.2.31.linux @@ -6,7 +6,7 @@ error: path changes to `forkpty` 1036 | | name: *mut ::c_char, 1037 | | termp: *const termios, 1038 | | winp: *const ::winsize) -> ::pid_t; - | |___________________________________________________^ + | |__________________________________________________^ | warning: removed path (breaking) --> libc-0.2.28/src/lib.rs:275:17 @@ -18,7 +18,7 @@ error: breaking changes in `PTRACE_O_EXITKILL` --> libc-0.2.31/src/unix/notbsd/mod.rs:738:1 | 738 | pub const PTRACE_O_EXITKILL: ::c_int = 0x00100000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -26,7 +26,7 @@ error: breaking changes in `PTRACE_O_TRACECLONE` --> libc-0.2.31/src/unix/notbsd/mod.rs:733:1 | 733 | pub const PTRACE_O_TRACECLONE: ::c_int = 0x00000008; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -34,7 +34,7 @@ error: breaking changes in `PTRACE_O_TRACEEXEC` --> libc-0.2.31/src/unix/notbsd/mod.rs:734:1 | 734 | pub const PTRACE_O_TRACEEXEC: ::c_int = 0x00000010; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -42,7 +42,7 @@ error: breaking changes in `PTRACE_O_TRACEEXIT` --> libc-0.2.31/src/unix/notbsd/mod.rs:736:1 | 736 | pub const PTRACE_O_TRACEEXIT: ::c_int = 0x00000040; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -50,7 +50,7 @@ error: breaking changes in `PTRACE_O_TRACEFORK` --> libc-0.2.31/src/unix/notbsd/mod.rs:731:1 | 731 | pub const PTRACE_O_TRACEFORK: ::c_int = 0x00000002; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -58,7 +58,7 @@ error: breaking changes in `PTRACE_O_TRACESYSGOOD` --> libc-0.2.31/src/unix/notbsd/mod.rs:730:1 | 730 | pub const PTRACE_O_TRACESYSGOOD: ::c_int = 0x00000001; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -66,7 +66,7 @@ error: breaking changes in `PTRACE_O_TRACEVFORK` --> libc-0.2.31/src/unix/notbsd/mod.rs:732:1 | 732 | pub const PTRACE_O_TRACEVFORK: ::c_int = 0x00000004; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -74,7 +74,7 @@ error: breaking changes in `PTRACE_O_TRACEVFORKDONE` --> libc-0.2.31/src/unix/notbsd/mod.rs:735:1 | 735 | pub const PTRACE_O_TRACEVFORKDONE: ::c_int = 0x00000020; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -82,7 +82,7 @@ error: breaking changes in `PTRACE_O_TRACESECCOMP` --> libc-0.2.31/src/unix/notbsd/mod.rs:737:1 | 737 | pub const PTRACE_O_TRACESECCOMP: ::c_int = 0x00000080; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -90,7 +90,7 @@ error: breaking changes in `PTRACE_O_SUSPEND_SECCOMP` --> libc-0.2.31/src/unix/notbsd/mod.rs:739:1 | 739 | pub const PTRACE_O_SUSPEND_SECCOMP: ::c_int = 0x00200000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: type error: expected `u32`, found `i32` (breaking) @@ -98,7 +98,7 @@ warning: path changes to `INADDR_LOOPBACK` --> libc-0.2.31/src/unix/mod.rs:227:1 | 227 | pub const INADDR_LOOPBACK: in_addr_t = 2130706433; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -110,7 +110,7 @@ warning: path changes to `INADDR_ANY` --> libc-0.2.31/src/unix/mod.rs:228:1 | 228 | pub const INADDR_ANY: in_addr_t = 0; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -122,7 +122,7 @@ warning: path changes to `INADDR_BROADCAST` --> libc-0.2.31/src/unix/mod.rs:229:1 | 229 | pub const INADDR_BROADCAST: in_addr_t = 4294967295; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -134,7 +134,7 @@ warning: path changes to `INADDR_NONE` --> libc-0.2.31/src/unix/mod.rs:230:1 | 230 | pub const INADDR_NONE: in_addr_t = 4294967295; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -146,7 +146,7 @@ warning: path changes to `F_CANCELLK` --> libc-0.2.31/src/unix/notbsd/mod.rs:214:1 | 214 | pub const F_CANCELLK: ::c_int = 1029; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -158,7 +158,7 @@ warning: path changes to `F_ADD_SEALS` --> libc-0.2.31/src/unix/notbsd/mod.rs:218:1 | 218 | pub const F_ADD_SEALS: ::c_int = 1033; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -170,7 +170,7 @@ warning: path changes to `F_GET_SEALS` --> libc-0.2.31/src/unix/notbsd/mod.rs:219:1 | 219 | pub const F_GET_SEALS: ::c_int = 1034; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -182,7 +182,7 @@ warning: path changes to `F_SEAL_SEAL` --> libc-0.2.31/src/unix/notbsd/mod.rs:221:1 | 221 | pub const F_SEAL_SEAL: ::c_int = 0x0001; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -194,7 +194,7 @@ warning: path changes to `F_SEAL_SHRINK` --> libc-0.2.31/src/unix/notbsd/mod.rs:222:1 | 222 | pub const F_SEAL_SHRINK: ::c_int = 0x0002; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -206,7 +206,7 @@ warning: path changes to `F_SEAL_GROW` --> libc-0.2.31/src/unix/notbsd/mod.rs:223:1 | 223 | pub const F_SEAL_GROW: ::c_int = 0x0004; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -218,7 +218,7 @@ warning: path changes to `F_SEAL_WRITE` --> libc-0.2.31/src/unix/notbsd/mod.rs:224:1 | 224 | pub const F_SEAL_WRITE: ::c_int = 0x0008; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -230,7 +230,7 @@ warning: path changes to `MADV_FREE` --> libc-0.2.31/src/unix/notbsd/mod.rs:418:1 | 418 | pub const MADV_FREE: ::c_int = 8; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -242,7 +242,7 @@ warning: path changes to `MADV_SOFT_OFFLINE` --> libc-0.2.31/src/unix/notbsd/mod.rs:429:1 | 429 | pub const MADV_SOFT_OFFLINE: ::c_int = 101; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -254,7 +254,7 @@ warning: path changes to `PTRACE_O_MASK` --> libc-0.2.31/src/unix/notbsd/mod.rs:740:1 | 740 | pub const PTRACE_O_MASK: ::c_int = 0x003000ff; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -266,7 +266,7 @@ warning: path changes to `PTRACE_EVENT_FORK` --> libc-0.2.31/src/unix/notbsd/mod.rs:743:1 | 743 | pub const PTRACE_EVENT_FORK: ::c_int = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -278,7 +278,7 @@ warning: path changes to `PTRACE_EVENT_VFORK` --> libc-0.2.31/src/unix/notbsd/mod.rs:744:1 | 744 | pub const PTRACE_EVENT_VFORK: ::c_int = 2; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -290,7 +290,7 @@ warning: path changes to `PTRACE_EVENT_CLONE` --> libc-0.2.31/src/unix/notbsd/mod.rs:745:1 | 745 | pub const PTRACE_EVENT_CLONE: ::c_int = 3; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -302,7 +302,7 @@ warning: path changes to `PTRACE_EVENT_EXEC` --> libc-0.2.31/src/unix/notbsd/mod.rs:746:1 | 746 | pub const PTRACE_EVENT_EXEC: ::c_int = 4; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -314,7 +314,7 @@ warning: path changes to `PTRACE_EVENT_VFORK_DONE` --> libc-0.2.31/src/unix/notbsd/mod.rs:747:1 | 747 | pub const PTRACE_EVENT_VFORK_DONE: ::c_int = 5; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -326,7 +326,7 @@ warning: path changes to `PTRACE_EVENT_EXIT` --> libc-0.2.31/src/unix/notbsd/mod.rs:748:1 | 748 | pub const PTRACE_EVENT_EXIT: ::c_int = 6; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -338,7 +338,7 @@ warning: path changes to `PTRACE_EVENT_SECCOMP` --> libc-0.2.31/src/unix/notbsd/mod.rs:749:1 | 749 | pub const PTRACE_EVENT_SECCOMP: ::c_int = 7; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -350,7 +350,7 @@ warning: path changes to `statfs64` --> libc-0.2.31/src/unix/notbsd/mod.rs:882:5 | 882 | pub fn statfs64(path: *const ::c_char, buf: *mut statfs64) -> ::c_int; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -362,7 +362,7 @@ warning: path changes to `fstatfs64` --> libc-0.2.31/src/unix/notbsd/mod.rs:884:5 | 884 | pub fn fstatfs64(fd: ::c_int, buf: *mut statfs64) -> ::c_int; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -374,7 +374,7 @@ warning: path changes to `statvfs64` --> libc-0.2.31/src/unix/notbsd/mod.rs:885:5 | 885 | pub fn statvfs64(path: *const ::c_char, buf: *mut statvfs64) -> ::c_int; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -386,7 +386,7 @@ warning: path changes to `fstatvfs64` --> libc-0.2.31/src/unix/notbsd/mod.rs:886:5 | 886 | pub fn fstatvfs64(fd: ::c_int, buf: *mut statvfs64) -> ::c_int; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -398,7 +398,7 @@ warning: path changes to `IFF_LOWER_UP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:629:1 | 629 | pub const IFF_LOWER_UP: ::c_int = 0x10000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -410,7 +410,7 @@ warning: path changes to `IFF_DORMANT` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:630:1 | 630 | pub const IFF_DORMANT: ::c_int = 0x20000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -422,7 +422,7 @@ warning: path changes to `IFF_ECHO` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:631:1 | 631 | pub const IFF_ECHO: ::c_int = 0x40000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -434,7 +434,7 @@ warning: path changes to `IPPROTO_HOPOPTS` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:683:1 | 683 | pub const IPPROTO_HOPOPTS: ::c_int = 0; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -446,7 +446,7 @@ warning: path changes to `IPPROTO_IGMP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:686:1 | 686 | pub const IPPROTO_IGMP: ::c_int = 2; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -458,7 +458,7 @@ warning: path changes to `IPPROTO_IPIP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:688:1 | 688 | pub const IPPROTO_IPIP: ::c_int = 4; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -470,7 +470,7 @@ warning: path changes to `IPPROTO_EGP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:691:1 | 691 | pub const IPPROTO_EGP: ::c_int = 8; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -482,7 +482,7 @@ warning: path changes to `IPPROTO_PUP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:693:1 | 693 | pub const IPPROTO_PUP: ::c_int = 12; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -494,7 +494,7 @@ warning: path changes to `IPPROTO_IDP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:696:1 | 696 | pub const IPPROTO_IDP: ::c_int = 22; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -506,7 +506,7 @@ warning: path changes to `IPPROTO_TP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:698:1 | 698 | pub const IPPROTO_TP: ::c_int = 29; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -518,7 +518,7 @@ warning: path changes to `IPPROTO_DCCP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:700:1 | 700 | pub const IPPROTO_DCCP: ::c_int = 33; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -530,7 +530,7 @@ warning: path changes to `IPPROTO_ROUTING` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:703:1 | 703 | pub const IPPROTO_ROUTING: ::c_int = 43; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -542,7 +542,7 @@ warning: path changes to `IPPROTO_FRAGMENT` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:705:1 | 705 | pub const IPPROTO_FRAGMENT: ::c_int = 44; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -554,7 +554,7 @@ warning: path changes to `IPPROTO_RSVP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:707:1 | 707 | pub const IPPROTO_RSVP: ::c_int = 46; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -566,7 +566,7 @@ warning: path changes to `IPPROTO_GRE` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:709:1 | 709 | pub const IPPROTO_GRE: ::c_int = 47; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -578,7 +578,7 @@ warning: path changes to `IPPROTO_ESP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:711:1 | 711 | pub const IPPROTO_ESP: ::c_int = 50; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -590,7 +590,7 @@ warning: path changes to `IPPROTO_AH` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:713:1 | 713 | pub const IPPROTO_AH: ::c_int = 51; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -602,7 +602,7 @@ warning: path changes to `IPPROTO_NONE` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:716:1 | 716 | pub const IPPROTO_NONE: ::c_int = 59; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -614,7 +614,7 @@ warning: path changes to `IPPROTO_DSTOPTS` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:718:1 | 718 | pub const IPPROTO_DSTOPTS: ::c_int = 60; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -626,7 +626,7 @@ warning: path changes to `IPPROTO_MTP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:719:1 | 719 | pub const IPPROTO_MTP: ::c_int = 92; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -638,7 +638,7 @@ warning: path changes to `IPPROTO_BEETPH` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:720:1 | 720 | pub const IPPROTO_BEETPH: ::c_int = 94; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -650,7 +650,7 @@ warning: path changes to `IPPROTO_ENCAP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:722:1 | 722 | pub const IPPROTO_ENCAP: ::c_int = 98; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -662,7 +662,7 @@ warning: path changes to `IPPROTO_PIM` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:724:1 | 724 | pub const IPPROTO_PIM: ::c_int = 103; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -674,7 +674,7 @@ warning: path changes to `IPPROTO_COMP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:726:1 | 726 | pub const IPPROTO_COMP: ::c_int = 108; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -686,7 +686,7 @@ warning: path changes to `IPPROTO_SCTP` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:728:1 | 728 | pub const IPPROTO_SCTP: ::c_int = 132; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -698,7 +698,7 @@ warning: path changes to `IPPROTO_MH` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:729:1 | 729 | pub const IPPROTO_MH: ::c_int = 135; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -710,7 +710,7 @@ warning: path changes to `IPPROTO_UDPLITE` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:730:1 | 730 | pub const IPPROTO_UDPLITE: ::c_int = 136; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -722,7 +722,7 @@ warning: path changes to `IPPROTO_MPLS` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:731:1 | 731 | pub const IPPROTO_MPLS: ::c_int = 137; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -734,7 +734,7 @@ warning: path changes to `IPPROTO_MAX` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:734:1 | 734 | pub const IPPROTO_MAX: ::c_int = 256; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -746,7 +746,7 @@ warning: path changes to `TFD_CLOEXEC` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:970:1 | 970 | pub const TFD_CLOEXEC: ::c_int = O_CLOEXEC; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -758,7 +758,7 @@ warning: path changes to `TFD_NONBLOCK` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:971:1 | 971 | pub const TFD_NONBLOCK: ::c_int = O_NONBLOCK; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -770,7 +770,7 @@ warning: path changes to `TFD_TIMER_ABSTIME` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:972:1 | 972 | pub const TFD_TIMER_ABSTIME: ::c_int = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -782,7 +782,7 @@ warning: path changes to `timerfd_create` --> libc-0.2.31/src/unix/notbsd/linux/mod.rs:1148:5 | 1148 | pub fn timerfd_create(clockid: ::c_int, flags: ::c_int) -> ::c_int; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -795,7 +795,7 @@ warning: path changes to `timerfd_gettime` | 1149 | / pub fn timerfd_gettime(fd: ::c_int, 1150 | | curr_value: *mut itimerspec) -> ::c_int; - | |___________________________________________________________________^ + | |__________________________________________________________________^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -810,7 +810,7 @@ warning: path changes to `timerfd_settime` 1152 | | flags: ::c_int, 1153 | | new_value: *const itimerspec, 1154 | | old_value: *mut itimerspec) -> ::c_int; - | |__________________________________________________________________^ + | |_________________________________________________________________^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -826,7 +826,7 @@ warning: path changes to `getgrgid_r` 1387 | | buf: *mut ::c_char, 1388 | | buflen: ::size_t, 1389 | | result: *mut *mut ::group) -> ::c_int; - | |____________________________________________________________^ + | |___________________________________________________________^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -842,7 +842,7 @@ warning: path changes to `getgrnam_r` 1400 | | buf: *mut ::c_char, 1401 | | buflen: ::size_t, 1402 | | result: *mut *mut ::group) -> ::c_int; - | |____________________________________________________________^ + | |___________________________________________________________^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 @@ -857,7 +857,7 @@ warning: path changes to `getgrouplist` 1437 | | group: ::gid_t, 1438 | | groups: *mut ::gid_t, 1439 | | ngroups: *mut ::c_int) -> ::c_int; - | |__________________________________________________________^ + | |_________________________________________________________^ | note: added path (technically breaking) --> libc-0.2.31/src/lib.rs:284:17 diff --git a/tests/full_cases/log-0.3.4-0.3.8.linux b/tests/full_cases/log-0.3.4-0.3.8.linux index 0e4e020c..8b0824bb 100644 --- a/tests/full_cases/log-0.3.4-0.3.8.linux +++ b/tests/full_cases/log-0.3.4-0.3.8.linux @@ -154,7 +154,7 @@ warning: path changes to `ShutdownLoggerError` --> log-0.3.8/src/lib.rs:797:1 | 797 | pub struct ShutdownLoggerError(()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/full_cases/log-0.3.4-0.3.8.osx b/tests/full_cases/log-0.3.4-0.3.8.osx index 0e4e020c..8b0824bb 100644 --- a/tests/full_cases/log-0.3.4-0.3.8.osx +++ b/tests/full_cases/log-0.3.4-0.3.8.osx @@ -154,7 +154,7 @@ warning: path changes to `ShutdownLoggerError` --> log-0.3.8/src/lib.rs:797:1 | 797 | pub struct ShutdownLoggerError(()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/full_cases/log-0.3.4-0.3.8.windows_msvc b/tests/full_cases/log-0.3.4-0.3.8.windows_msvc index 400635de..e2cf9780 100644 --- a/tests/full_cases/log-0.3.4-0.3.8.windows_msvc +++ b/tests/full_cases/log-0.3.4-0.3.8.windows_msvc @@ -154,7 +154,7 @@ warning: path changes to `ShutdownLoggerError` --> log-0.3.8\src\lib.rs:797:1 | 797 | pub struct ShutdownLoggerError(()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: added definition (technically breaking) diff --git a/tests/full_cases/rmpv-0.4.0-0.4.1.linux b/tests/full_cases/rmpv-0.4.0-0.4.1.linux index c459eb9b..c2932836 100644 --- a/tests/full_cases/rmpv-0.4.0-0.4.1.linux +++ b/tests/full_cases/rmpv-0.4.0-0.4.1.linux @@ -2,26 +2,16 @@ version bump: 0.4.0 -> (breaking) -> 0.4.1 error: breaking changes in `>` --> rmpv-0.4.0/src/decode/mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `>` --> rmpv-0.4.0/src/decode/mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -62,26 +52,16 @@ warning: technically breaking changes in `as_ref` warning: technically breaking changes in `>` --> rmpv-0.4.1/src/decode/mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> rmpv-0.4.1/src/decode/mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) diff --git a/tests/full_cases/rmpv-0.4.0-0.4.1.osx b/tests/full_cases/rmpv-0.4.0-0.4.1.osx index c459eb9b..c2932836 100644 --- a/tests/full_cases/rmpv-0.4.0-0.4.1.osx +++ b/tests/full_cases/rmpv-0.4.0-0.4.1.osx @@ -2,26 +2,16 @@ version bump: 0.4.0 -> (breaking) -> 0.4.1 error: breaking changes in `>` --> rmpv-0.4.0/src/decode/mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `>` --> rmpv-0.4.0/src/decode/mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -62,26 +52,16 @@ warning: technically breaking changes in `as_ref` warning: technically breaking changes in `>` --> rmpv-0.4.1/src/decode/mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> rmpv-0.4.1/src/decode/mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) diff --git a/tests/full_cases/rmpv-0.4.0-0.4.1.windows_msvc b/tests/full_cases/rmpv-0.4.0-0.4.1.windows_msvc index c4ddccc9..4a44aae1 100644 --- a/tests/full_cases/rmpv-0.4.0-0.4.1.windows_msvc +++ b/tests/full_cases/rmpv-0.4.0-0.4.1.windows_msvc @@ -2,26 +2,16 @@ version bump: 0.4.0 -> (breaking) -> 0.4.1 error: breaking changes in `>` --> rmpv-0.4.0\src\decode\mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) error: breaking changes in `>` --> rmpv-0.4.0\src\decode\mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: trait impl specialized or removed (breaking) @@ -62,26 +52,16 @@ warning: technically breaking changes in `as_ref` warning: technically breaking changes in `>` --> rmpv-0.4.1\src\decode\mod.rs:60:1 | -60 | / impl From for Error { -61 | | fn from(err: MarkerReadError) -> Error { -62 | | Error::InvalidMarkerRead(err.0) -63 | | } -64 | | } - | |_^ +60 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking) warning: technically breaking changes in `>` --> rmpv-0.4.1\src\decode\mod.rs:66:1 | -66 | / impl From for Error { -67 | | fn from(err: ValueReadError) -> Error { -68 | | match err { -69 | | ValueReadError::InvalidMarkerRead(err) => Error::InvalidMarkerRead(err), -... | -75 | | } -76 | | } - | |_^ +66 | impl From for Error { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: trait impl generalized or newly added (technically breaking)