mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-17 10:05:23 +00:00
integrate CodegenError to compiler-core::Error
This commit is contained in:
parent
9d67b944cf
commit
1192a11d39
4 changed files with 24 additions and 22 deletions
|
@ -193,7 +193,7 @@ impl ParseError {
|
|||
|
||||
impl fmt::Display for ParseError {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
self.location.fmt_with(f, &self.error)
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue