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 a15c2bb commit 3d77155Copy full SHA for 3d77155
src/librustdoc/clean/types.rs
@@ -643,7 +643,7 @@ impl Item {
643
let abi = tcx.fn_sig(def_id).skip_binder().abi();
644
hir::FnHeader {
645
unsafety: if abi == Abi::RustIntrinsic {
646
- intrinsic_operation_unsafety(tcx, self.def_id().unwrap())
+ intrinsic_operation_unsafety(tcx, def_id.expect_local())
647
} else {
648
hir::Unsafety::Unsafe
649
},
0 commit comments