Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
cf2dff2b1e3fa55fa5415d524200070d0d7aacfe
rust/tests/rustdoc-ui/normalize-overflow.rs

6 lines
145 B
Rust
Raw Normal View History

Use `try_normalize_erasing_regions` instead of a custom infer context This unfortunately is still giving an unsilenceable overflow error :(
2021-12-01 19:00:27 +00:00
// aux-crate:overflow=overflow.rs
// check-pass
// Regression test for <https://github.com/rust-lang/rust/issues/79506>.
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.
2022-09-19 22:49:37 -05:00
extern crate overflow;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 430ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API