We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df6d031 + acb6f1a commit 15d98cdCopy full SHA for 15d98cd
src/intrinsics/mod.rs
@@ -23,7 +23,7 @@ use rustc_middle::ty::layout::{HasParamEnv, ValidityRequirement};
23
use rustc_middle::ty::print::{with_no_trimmed_paths, with_no_visible_paths};
24
use rustc_middle::ty::GenericArgsRef;
25
use rustc_span::source_map::Spanned;
26
-use rustc_span::symbol::{kw, sym, Symbol};
+use rustc_span::symbol::{sym, Symbol};
27
28
pub(crate) use self::llvm::codegen_llvm_intrinsic_call;
29
use crate::prelude::*;
@@ -1132,7 +1132,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
1132
ret.write_cvalue(fx, val);
1133
}
1134
1135
- kw::Try => {
+ sym::catch_unwind => {
1136
intrinsic_args!(fx, args => (f, data, catch_fn); intrinsic);
1137
let f = f.load_scalar(fx);
1138
let data = data.load_scalar(fx);
0 commit comments