Open matklad opened 3 years ago
That would give confusing results if the caller has #[track_caller]
too.
Good question, macros and Location::caller
indeed behave differently in this respect: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=62145393b803fce3564f805a1d3c4493
seems like this can work?