We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2329e0 + c934ee8 commit eb2da60Copy full SHA for eb2da60
tests/rustdoc-ui/auxiliary/panic-handler.rs
@@ -0,0 +1,9 @@
1
+// compile-flags: -C panic=abort
2
+
3
+#![no_std]
4
+#![no_main]
5
6
+#[panic_handler]
7
+fn panic(_: &core::panic::PanicInfo) -> ! {
8
+ loop {}
9
+}
tests/rustdoc-ui/issue-107918.rs
@@ -0,0 +1,12 @@
+// aux-build:panic-handler.rs
+// compile-flags: --document-private-items
+// build-pass
+// ignore-windows
10
11
12
0 commit comments