Skip to content

Commit b542b7f

Browse files
committed
Fix toolchain diff errors
1 parent 9899b22 commit b542b7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/parser/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mod parser;
2-
pub use crate::parser::*;
2+
pub use parser::*;
33
pub use ::lalrpop_util;
44

55
use lalrpop_util::ParseError;
@@ -317,7 +317,7 @@ fn get_locations<const N: usize>(src: &str, indexs: [usize; N]) -> [[u32; 2]; N]
317317
}
318318

319319
pub fn format_parse_err<const MAX_INVALID_TOKEN_VIEW: usize>(
320-
e: ParseError<usize, Token<'_>, syntax::Error>,
320+
e: ParseError<usize, parser::Token<'_>, syntax::Error>,
321321
src: &str,
322322
) -> String {
323323
use syntax::{Errors, Error};

0 commit comments

Comments
 (0)