Skip to content

Commit b128879

Browse files
committed
make sure we do not discard information on the Ok exit side
1 parent c46668c commit b128879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fn main() {
262262
})
263263
.and_then(|result| result);
264264
let exit_code = match result {
265-
Ok(_) => rustc_driver::EXIT_SUCCESS,
265+
Ok(()) => rustc_driver::EXIT_SUCCESS,
266266
Err(_) => rustc_driver::EXIT_FAILURE,
267267
};
268268
std::process::exit(exit_code);

0 commit comments

Comments
 (0)