Skip to content

Commit 3fac4bb

Browse files
authored
Rollup merge of #102038 - jyn514:rustdoc-normalize-test, r=compiler-errors
Make the `normalize-overflow` rustdoc test actually do something Since #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: -Znormalize-docs` and running the test to make sure it gives an error.
2 parents 128733d + 690c467 commit 3fac4bb

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)