forked from M-Labs/nac3
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2021-11-06 14:14:40 +08:00
parent efc9edbc14
commit 597857ccd0
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ pub fn make_config_comment(
location: com_loc, location: com_loc,
error: LexicalErrorType::OtherError( error: LexicalErrorType::OtherError(
format!( format!(
"config comment at top must have the same indentation with what it applies(comment at {}, statement at {})", "config comment at top must have the same indentation with what it applies (comment at {}, statement at {})",
com_loc, com_loc,
stmt_loc, stmt_loc,
) )
@ -41,7 +41,7 @@ pub fn handle_small_stmt<U>(stmts: &mut [Stmt<U>], nac3com_above: Vec<(Ident, To
location: com_above_loc, location: com_above_loc,
error: LexicalErrorType::OtherError( error: LexicalErrorType::OtherError(
format!( format!(
"config comment at top must have the same indentation with what it applies(comment at {}, statement at {})", "config comment at top must have the same indentation with what it applies (comment at {}, statement at {})",
com_above_loc, com_above_loc,
stmts[0].location, stmts[0].location,
) )