Skip to content

Commit 966e9cc

Browse files
authored
Merge pull request #2839 from dtolnay/pr2558
Update ui tests from PR 2558
2 parents 422c719 + 53ade10 commit 966e9cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test_suite/tests/ui/with/incorrect_type.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ error[E0277]: the trait bound `&u8: Serializer` is not satisfied
77
| --- required by a bound introduced by this call
88
|
99
= help: the following other types implement trait `Serializer`:
10-
&'a mut Formatter<'b>
10+
&mut Formatter<'a>
1111
FlatMapSerializer<'a, M>
1212
_::_serde::__private::ser::content::ContentSerializer<E>
1313
note: required by a bound in `w::serialize`
@@ -35,7 +35,7 @@ error[E0277]: the trait bound `&u8: Serializer` is not satisfied
3535
| ^^^ the trait `Serializer` is not implemented for `&u8`
3636
|
3737
= help: the following other types implement trait `Serializer`:
38-
&'a mut Formatter<'b>
38+
&mut Formatter<'a>
3939
FlatMapSerializer<'a, M>
4040
_::_serde::__private::ser::content::ContentSerializer<E>
4141

@@ -56,7 +56,7 @@ error[E0277]: the trait bound `&u8: Serializer` is not satisfied
5656
| -------------- required by a bound introduced by this call
5757
|
5858
= help: the following other types implement trait `Serializer`:
59-
&'a mut Formatter<'b>
59+
&mut Formatter<'a>
6060
FlatMapSerializer<'a, M>
6161
_::_serde::__private::ser::content::ContentSerializer<E>
6262
note: required by a bound in `w::serialize`
@@ -84,7 +84,7 @@ error[E0277]: the trait bound `&u8: Serializer` is not satisfied
8484
| ^^^^^^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`
8585
|
8686
= help: the following other types implement trait `Serializer`:
87-
&'a mut Formatter<'b>
87+
&mut Formatter<'a>
8888
FlatMapSerializer<'a, M>
8989
_::_serde::__private::ser::content::ContentSerializer<E>
9090

0 commit comments

Comments
 (0)