Skip to content

Commit

Permalink
Make the normalize-overflow rustdoc test actually do something
Browse files Browse the repository at this point in the history
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: -Znormalizing-docs` and running the test.
  • Loading branch information
jyn514 committed Sep 20, 2022
1 parent a37499a commit 690c467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/normalize-overflow.rs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 690c467

Please sign in to comment.