version bump: 1.0.0 -> (breaking) -> 2.0.0
warning: technically breaking changes in `Def`
--> structs/new.rs:6:1
|
6 | pub struct Def {
| ^^^^^^^^^^^^^^^^^^^^
|
= note: defaulted type parameter added (non-breaking)
note: item made public (technically breaking)
--> structs/new.rs:7:5
|
7 | pub field: A,
| ^^^^^^^^^^^^
error: breaking changes in `Def2`
--> structs/new.rs:10:1
|
10 | pub struct Def2 {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: defaulted type parameter added (non-breaking)
= warning: type error: expected `u8`, found `u16` (breaking)
error: breaking changes in `Efg`
--> structs/new.rs:14:1
|
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 {
| ^^^^^^^^^^^^^^
|
note: item made public (technically breaking)
--> structs/new.rs:19:5
|
19 | pub field: u8,
| ^^^^^^^^^^^^^
error: breaking changes in `Ghi`
--> structs/new.rs:22:1
|
22 | pub struct Ghi {
| ^^^^^^^^^^^^^^
|
warning: item made private (breaking)
--> structs/new.rs:23:5
|
23 | field: u8,
| ^^^^^^^^^
error: breaking changes in `Hij`
--> structs/new.rs:26:1
|
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 {
| ^^^^^^^^^^^^^^
warning: technically breaking changes in `Iij`
--> structs/new.rs:30:1
|
30 | pub struct Iij {
| ^^^^^^^^^^^^^^
|
note: private field removed from struct with private fields (non-breaking)
--> structs/old.rs:29:5
|
29 | field: u16,
| ^^^^^^^^^^
note: public field added to struct with private fields (technically breaking)
--> structs/new.rs:31:5
|
31 | pub field1: u8,
| ^^^^^^^^^^^^^^
note: public field added to struct with private fields (technically breaking)
--> structs/new.rs:32:5
|
32 | pub field2: u8,
| ^^^^^^^^^^^^^^
error: aborting due to 4 previous errors; 3 warnings emitted