mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Use $crate in loc macro instead of outside imports
This commit is contained in:
parent
cc74c37045
commit
76b815ab77
4 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue