Skip to content

Commit aef978a

Browse files
committed
Fix rustdoc
1 parent 7585802 commit aef978a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ impl Item {
643643
let abi = tcx.fn_sig(def_id).skip_binder().abi();
644644
hir::FnHeader {
645645
unsafety: if abi == Abi::RustIntrinsic {
646-
intrinsic_operation_unsafety(tcx, self.def_id().unwrap())
646+
intrinsic_operation_unsafety(tcx, def_id.expect_local())
647647
} else {
648648
hir::Unsafety::Unsafe
649649
},

0 commit comments

Comments
 (0)