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 e296ed3 commit 0353339Copy full SHA for 0353339
src/librustc_driver/lib.rs
@@ -1145,7 +1145,7 @@ fn extra_compiler_flags() -> Option<(Vec<String>, bool)> {
1145
1146
/// Runs a closure and catches unwinds triggered by fatal errors.
1147
///
1148
-/// The compiler currently panics with a special sentinel value to abort
+/// The compiler currently unwinds with a special sentinel value to abort
1149
/// compilation on fatal errors. This function catches that sentinel and turns
1150
/// the panic into a `Result` instead.
1151
pub fn catch_fatal_errors<F: FnOnce() -> R, R>(f: F) -> Result<R, ErrorReported> {
0 commit comments