Skip to content

Commit

Permalink
remove "parse/lex error:" prefix from error messages (FuelLabs#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
canndrew authored Apr 22, 2022
1 parent 674119e commit 127b297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,9 @@ pub enum CompileError {
#[from]
error: ConvertParseTreeError,
},
#[error("lex error: {}", error)]
#[error("{}", error)]
Lex { error: sway_parse::LexError },
#[error("parse error: {}", error)]
#[error("{}", error)]
Parse { error: sway_parse::ParseError },
}

Expand Down

0 comments on commit 127b297

Please sign in to comment.