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 b441b80 commit e37f0feCopy full SHA for e37f0fe
tests/run-make/rustdoc-merge-no-input-finalize/rmake.rs
@@ -0,0 +1,22 @@
1
+// Running --merge=finalize without an input crate root should not trigger ICE.
2
+// Issue: https://github.com/rust-lang/rust/issues/146646
3
+
4
+//@ needs-target-std
5
6
+use run_make_support::rustdoc;
7
8
+fn main() {
9
+ rustdoc()
10
+ .input("sierra.rs")
11
+ .arg("-Zunstable-options")
12
+ .arg("--parts-out-dir=parts")
13
+ .arg("--merge=none")
14
+ .run();
15
16
17
18
+ .arg("--include-parts-dir=parts")
19
+ .arg("--merge=finalize")
20
+ .out_dir("out")
21
22
+}
tests/run-make/rustdoc-merge-no-input-finalize/sierra.rs
@@ -0,0 +1 @@
+pub struct Sierra;
0 commit comments