Macro location

Source
macro_rules! location {
    () => { ... };
}
Expand description

Macro to create a new Location for the exact position in your code.

This macro captures the current file, line, and column during compilation, providing an easy way to associate errors with specific locations in the Rust code.

ยงNote

This macro relies on the file!, line!, and column! macros to fetch the compilation context.