Open
Description
Since #135054, the Debug
implementation for std::panic::Location
just prints the byte bag:
fn main() {
dbg!(std::panic::Location::caller());
}
Stable:
[src/main.rs:2:5] std::panic::Location::caller() = Location {
file: "src/main.rs",
line: 2,
col: 10,
}
Nightly:
[src/main.rs:2:5] std::panic::Location::caller() = Location {
file_bytes_with_nul: [
115,
114,
99,
47,
109,
97,
105,
110,
46,
114,
115,
0,
],
line: 2,
col: 10,
}
Originally noticed at #142216.