Skip to content

Commit 2bcef45

Browse files
committed
Improve error message of drop bombs
1 parent ca20989 commit 2bcef45

File tree

1 file changed

+1
-1
lines changed
  • src/tools/build_helper/src/drop_bomb

1 file changed

+1
-1
lines changed

src/tools/build_helper/src/drop_bomb/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl Drop for DropBomb {
4040
fn drop(&mut self) {
4141
if !self.defused && !std::thread::panicking() {
4242
panic!(
43-
"command constructed but not executed at {}: `{}`",
43+
"command constructed at `{}` was dropped without being executed: `{}`",
4444
self.armed_location,
4545
self.command.to_string_lossy()
4646
)

0 commit comments

Comments
 (0)