We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5fbcd3 commit 7fccdb7Copy full SHA for 7fccdb7
compiler/rustc_typeck/src/check/intrinsic.rs
@@ -53,7 +53,7 @@ fn equate_intrinsic_type<'tcx>(
53
require_same_types(tcx, &cause, tcx.mk_fn_ptr(tcx.fn_sig(it.def_id)), fty);
54
}
55
56
-/// Returns `true` if the given intrinsic is unsafe to call or not.
+/// Returns the unsafety of the given intrinsic.
57
pub fn intrinsic_operation_unsafety(intrinsic: Symbol) -> hir::Unsafety {
58
match intrinsic {
59
sym::abort
0 commit comments