Skip to content

Commit 701cb37

Browse files
committed
Rewrite and rename issue-38237 to rmake
1 parent d4e5426 commit 701cb37

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ run-make/issue-35164/Makefile
107107
run-make/issue-36710/Makefile
108108
run-make/issue-37839/Makefile
109109
run-make/issue-37893/Makefile
110-
run-make/issue-38237/Makefile
111110
run-make/issue-40535/Makefile
112111
run-make/issue-46239/Makefile
113112
run-make/issue-47384/Makefile
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// A very specific set of circumstances (mainly, implementing Deref, and
2+
// having a procedural macro and a Debug derivation in external crates) caused
3+
// an internal compiler error (ICE) when trying to use rustdoc. This test
4+
// reproduces the exact circumstances which caused the bug and checks
5+
// that it does not happen again.
6+
// See https://github.com/rust-lang/rust/issues/38237
7+
8+
//@ ignore-cross-compile
9+
10+
use run_make_support::{rustc, rustdoc, tmp_dir};
11+
12+
fn main() {
13+
rustc().input("foo.rs").run();
14+
rustc().input("bar.rs").run();
15+
rustdoc().input("baz.rs").library_search_path(tmp_dir()).output(tmp_dir()).run();
16+
}

tests/run-make/issue-38237/Makefile

-6
This file was deleted.

0 commit comments

Comments
 (0)