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: -Znormalizing-docs` and running the test.
This commit is contained in:
parent
a37499ae66
commit
690c467799
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
// aux-crate:overflow=overflow.rs
|
||||
// check-pass
|
||||
// Regression test for <https://github.com/rust-lang/rust/issues/79506>.
|
||||
|
||||
extern crate overflow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue