We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5cb71 commit 04a7f80Copy full SHA for 04a7f80
src/parser.rs
@@ -28,8 +28,8 @@ pub struct RecordParseError {
28
pub message: String
29
}
30
31
-impl<'a, P: Stream<Item=char, Range=&'a str>> From<CombinatorParseError<P>> for RecordParseError {
32
- fn from(error: CombinatorParseError<P>) -> Self {
+impl<'a> From<CombinatorParseError<State<&'a str>>> for RecordParseError {
+ fn from(error: CombinatorParseError<State<&'a str>>) -> Self {
33
let line = error.position.line;
34
let column = error.position.column;
35
0 commit comments