Skip to content

Commit 690c467

Browse files
committed
Make the normalize-overflow rustdoc test actually do something
Since rust-lang#88679, rustdoc doesn't load crates eagerly. Add an explicit `extern crate` item to make sure the crate is loaded and the bug reproduces. You can verify this fix by adding `// compile-flags: -Znormalizing-docs` and running the test.
1 parent a37499a commit 690c467

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
// aux-crate:overflow=overflow.rs
22
// check-pass
33
// Regression test for <https://github.com/rust-lang/rust/issues/79506>.
4+
5+
extern crate overflow;

0 commit comments

Comments
 (0)