Rollup merge of #102038 - jyn514:rustdoc-normalize-test, r=compiler-errors
Make the `normalize-overflow` rustdoc test actually do something Since https://github.com/rust-lang/rust/pull/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.
This commit is contained in:
commit
3fac4bbdda
@ -1,3 +1,5 @@
|
|||||||
// aux-crate:overflow=overflow.rs
|
// aux-crate:overflow=overflow.rs
|
||||||
// check-pass
|
// check-pass
|
||||||
// Regression test for <https://github.com/rust-lang/rust/issues/79506>.
|
// Regression test for <https://github.com/rust-lang/rust/issues/79506>.
|
||||||
|
|
||||||
|
extern crate overflow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user