Description
I scanned the history but didn't see this question mentioned. Has there been any discussion about moving the Location type out of the std::panic module, or even just re-exporting under a different name if it needs to stay there for backwards compatibility?
I'm really looking forward to track_caller, but almost none of my use cases are panic related and panic is a pretty eye-catching word in code that causes me to do a double-take every time I encounter it. It seems like a superficial thing to discuss compared with all the implementation details, but I just wanted to provide my experience in case that aspect has been overlooked.
Originally posted by @ggriffiniii in #47809 (comment)
@anp's thoughts: I also have non-panicking uses in mind for Location::caller
and have thought a couple of times about proposing an alias like core::source::Location
or similar.