Skip to content

Commit

Permalink
Use full path for location!() macro
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 authored and shepmaster committed Jul 8, 2024
1 parent 1b559a5 commit 298b3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ impl fmt::Display for Location {
#[macro_export]
macro_rules! location {
() => {
Location::new(file!(), line!(), column!())
$crate::Location::new(file!(), line!(), column!())
};
}

Expand Down

0 comments on commit 298b3c3

Please sign in to comment.