fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1004 B25 linesraw
1error[E0404]: expected trait, found enum `ParseError`
2  --> $DIR/issue-112472-multi-generics-suggestion.rs:17:54
3   |
4LL |     <DecodeLine as convert::TryFrom<String>>::Error: ParseError,
5   |                                                      ^^^^^^^^^^ not a trait
6   |
7help: constrain the associated type to `ParseError`
8   |
9LL |     DecodeLine: convert::TryFrom<String, Error = ParseError>,
10   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
12error[E0404]: expected trait, found enum `ParseError`
13  --> $DIR/issue-112472-multi-generics-suggestion.rs:25:45
14   |
15LL |     <DecodeLine as TryFrom<String>>::Error: ParseError,
16   |                                             ^^^^^^^^^^ not a trait
17   |
18help: constrain the associated type to `ParseError`
19   |
20LL |     DecodeLine: TryFrom<String, Error = ParseError>,
21   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0404`.