We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb1927 commit 97e1d36Copy full SHA for 97e1d36
src/test/run-fail/mir_drop_panics.rs
@@ -17,7 +17,7 @@ impl Drop for Droppable {
17
if self.0 == 1 {
18
panic!("panic 1");
19
} else {
20
- eprint!("drop {}", self.0);
+ eprintln!("drop {}", self.0);
21
}
22
23
src/test/run-fail/panic-set-handler.rs
@@ -14,7 +14,7 @@ use std::panic;
14
15
fn main() {
16
panic::set_hook(Box::new(|i| {
- eprint!("greetings from the panic handler");
+ eprintln!("greetings from the panic handler");
}));
panic!("foobar");
0 commit comments