Struct std::panic::Location1.10.0 [] [src]

pub struct Location<'a> { /* fields omitted */ }

A struct containing information about the location of a panic.

Methods

impl<'a> Location<'a>
[src]

Returns the name of the source file from which the panic originated.

Returns the line number from which the panic originated.