Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 023f943

Browse files
committed
Updated tests.
1 parent 08f28be commit 023f943

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

tests/cases/infer_regress/stdout

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ error: breaking changes in `abc`
66
| ^^^^^^^^^^^^^^^^^^^^^^^
77
|
88
= note: variance loosened (non-breaking)
9-
= warning: type error: expected type parameter, found () (breaking)
9+
= warning: type error: expected type parameter `A`, found () (breaking)
1010

1111
error: breaking changes in `Abc`
1212
--> infer_regress/new.rs:3:1
1313
|
1414
3 | pub struct Abc<A>(pub A, pub ());
1515
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1616
|
17-
= warning: type error: expected type parameter, found () (breaking)
17+
= warning: type error: expected type parameter `A`, found () (breaking)
1818

1919
error: aborting due to 2 previous errors
2020

tests/cases/inherent_impls/stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ error: breaking changes in `ghi`
77
16 | | }
88
| |_____^
99
|
10-
= warning: type error: expected type parameter, found u8 (breaking)
10+
= warning: type error: expected type parameter `A`, found u8 (breaking)
1111

1212
error: breaking changes in `def`
1313
--> inherent_impls/old.rs:26:5

tests/cases/regions/stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ error: breaking changes in `E`
1313
11 | pub type E<T: IntoIterator> = T;
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515
|
16-
= warning: type error: expected associated type, found type parameter (breaking)
16+
= warning: type error: expected associated type, found type parameter `T` (breaking)
1717

1818
error: breaking changes in `abc`
1919
--> regions/new.rs:13:1

tests/cases/ty_alias/new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pub type C<T> = T;
66
pub type D<'a, T, U=Box<T>> = (&'a T, U);
77
pub type E<'a, T, U> = (&'a T, U);
88
pub type F<'a> = &'a u8;
9-
pub type G<'a> = (&'a u8);
9+
pub type G<'a> = &'a u8;

tests/cases/ty_alias/stdout

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ error: breaking changes in `F`
5151
error: breaking changes in `G`
5252
--> ty_alias/new.rs:9:1
5353
|
54-
9 | pub type G<'a> = (&'a u8);
55-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
54+
9 | pub type G<'a> = &'a u8;
55+
| ^^^^^^^^^^^^^^^^^^^^^^^^
5656
|
5757
= warning: type parameter removed (breaking)
5858

tests/full_cases/log-0.3.4-0.3.8.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::Eq>
3131
|
3232
= note: trait impl generalized or newly added (technically breaking)
3333

34-
warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::PartialEq>`
34+
warning: technically breaking changes in `<new::LogMetadata<'a> as std::marker::StructuralPartialEq>`
3535
--> log-0.3.8/src/lib.rs:552:14
3636
|
3737
552 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
@@ -79,7 +79,7 @@ warning: technically breaking changes in `<new::LogLocation as std::cmp::Eq>`
7979
|
8080
= note: trait impl generalized or newly added (technically breaking)
8181

82-
warning: technically breaking changes in `<new::LogLocation as std::cmp::PartialEq>`
82+
warning: technically breaking changes in `<new::LogLocation as std::marker::StructuralPartialEq>`
8383
--> log-0.3.8/src/lib.rs:604:34
8484
|
8585
604 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

tests/full_cases/log-0.3.4-0.3.8.osx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::Eq>
3131
|
3232
= note: trait impl generalized or newly added (technically breaking)
3333

34-
warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::PartialEq>`
34+
warning: technically breaking changes in `<new::LogMetadata<'a> as std::marker::StructuralPartialEq>`
3535
--> log-0.3.8/src/lib.rs:552:14
3636
|
3737
552 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
@@ -79,7 +79,7 @@ warning: technically breaking changes in `<new::LogLocation as std::cmp::Eq>`
7979
|
8080
= note: trait impl generalized or newly added (technically breaking)
8181

82-
warning: technically breaking changes in `<new::LogLocation as std::cmp::PartialEq>`
82+
warning: technically breaking changes in `<new::LogLocation as std::marker::StructuralPartialEq>`
8383
--> log-0.3.8/src/lib.rs:604:34
8484
|
8585
604 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

tests/full_cases/log-0.3.4-0.3.8.windows_msvc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::Eq>
3131
|
3232
= note: trait impl generalized or newly added (technically breaking)
3333

34-
warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::PartialEq>`
34+
warning: technically breaking changes in `<new::LogMetadata<'a> as std::marker::StructuralPartialEq>`
3535
--> log-0.3.8\src\lib.rs:552:14
3636
|
3737
552 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
@@ -79,7 +79,7 @@ warning: technically breaking changes in `<new::LogLocation as std::cmp::Eq>`
7979
|
8080
= note: trait impl generalized or newly added (technically breaking)
8181

82-
warning: technically breaking changes in `<new::LogLocation as std::cmp::PartialEq>`
82+
warning: technically breaking changes in `<new::LogLocation as std::marker::StructuralPartialEq>`
8383
--> log-0.3.8\src\lib.rs:604:34
8484
|
8585
604 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

0 commit comments

Comments
 (0)