-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE: resolve: unreachable!()
#117920
Comments
unreachable!()
Regression in nightly-2023-02-12 found 8 bors merge commits in the specified range maybe #94857 ? ping @petrochenkov |
Use the glob binding in resolve_rustdoc_path process Fixes rust-lang#117920 Returning `None` seems enough. I reproduces and tests this locally by `cargo +stage1 build`, but I cannot reproduce this ICE by putting [the following code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8b3ca8f4a7676eb90baf30437ba041a2) into `tests/ui/...` and then compiling it using `rustc +stage1 /path/to/test.rs` or `x.py test`: ```rust #![crate_type = "lib"] use super::Hasher; /// [`Hasher`] pub use core::hash::*; ``` r? `@petrochenkov`
code:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc --crate-type=lib --edition=2021
Program output
The text was updated successfully, but these errors were encountered: