diff options
Diffstat (limited to 'tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr')
| -rw-r--r-- | tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr b/tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr index f463e2dad2c..1ed6e68c333 100644 --- a/tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr +++ b/tests/ui/resolve/issue-112472-multi-generics-suggestion.stderr @@ -6,8 +6,9 @@ LL | <DecodeLine as convert::TryFrom<String>>::Error: ParseError, | help: constrain the associated type to `ParseError` | -LL | DecodeLine: convert::TryFrom<String, Error = ParseError>, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +LL - <DecodeLine as convert::TryFrom<String>>::Error: ParseError, +LL + DecodeLine: convert::TryFrom<String, Error = ParseError>, + | error[E0404]: expected trait, found enum `ParseError` --> $DIR/issue-112472-multi-generics-suggestion.rs:25:45 @@ -17,8 +18,9 @@ LL | <DecodeLine as TryFrom<String>>::Error: ParseError, | help: constrain the associated type to `ParseError` | -LL | DecodeLine: TryFrom<String, Error = ParseError>, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +LL - <DecodeLine as TryFrom<String>>::Error: ParseError, +LL + DecodeLine: TryFrom<String, Error = ParseError>, + | error: aborting due to 2 previous errors |
