Use $crate in loc macro instead of outside imports

This commit is contained in:
Richard Feldman 2019-11-20 05:50:32 -05:00
parent cc74c37045
commit 76b815ab77
4 changed files with 4 additions and 3 deletions

View file

@ -1348,6 +1348,8 @@ where
macro_rules! loc {
($parser:expr) => {
move |arena, state: State<'a>| {
use $crate::region::{Located, Region};
let start_col = state.column;
let start_line = state.line;