We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6af7e commit b97ee0fCopy full SHA for b97ee0f
src/test/ui/rfc-2091-track-caller/std-panic-locations.rs
@@ -9,7 +9,7 @@ fn main() {
9
// inspect the `PanicInfo` we receive to ensure the right file is the source
10
std::panic::set_hook(Box::new(|info| {
11
let actual = info.location().unwrap();
12
- if actual.file() != file!(){
+ if actual.file() != file!() {
13
eprintln!("expected a location in the test file, found {:?}", actual);
14
panic!();
15
}
0 commit comments