commit | 203557ac8a0461455d971350e4527114b063d89c | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Dec 27 23:59:33 2017 -0500 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Dec 27 23:59:33 2017 -0500 |
tree | 43cd61bbf4f3b50852b8fe5b879a1c694b00d7a8 | |
parent | c10676a4001126cf3f03202c7748272114f3e45d [diff] [blame] |
Move PResult and ParseError under syn::synom
diff --git a/src/expr.rs b/src/expr.rs index 5c46423..f8adefb 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -698,7 +698,7 @@ use cursor::Cursor; #[cfg(feature = "full")] use parse_error; - use PResult; + use synom::PResult; // When we're parsing expressions which occur before blocks, like in an if // statement's condition, we cannot parse a struct literal.