Skip to content

Commit

Permalink
Merge pull request #456 from discord9/macro_full_path
Browse files Browse the repository at this point in the history
Use full path for `location!()` macro
  • Loading branch information
shepmaster authored Jul 8, 2024
2 parents 1b559a5 + 298b3c3 commit 9a0e9a1
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 9a0e9a1

Please sign in to comment.