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 9a1ca94Copy full SHA for 9a1ca94
tests/run-make/rustdoc-merge-no-input-finalize/rmake.rs
@@ -0,0 +1,23 @@
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::rfs::read_to_string;
7
+use run_make_support::{path, rustdoc, serde_json};
8
9
+fn main() {
10
+ rustdoc()
11
+ .input("sierra.rs")
12
+ .arg("-Zunstable-options")
13
+ .arg("--parts-out-dir=parts")
14
+ .arg("--merge=none")
15
+ .run();
16
17
18
19
+ .arg("--include-parts-dir=parts")
20
+ .arg("--merge=finalize")
21
+ .out_dir("out")
22
23
+}
tests/run-make/rustdoc-merge-no-input-finalize/sierra.rs
@@ -0,0 +1 @@
+pub struct Sierra;
0 commit comments