-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustc_resolve: entered unreachable code in resolve_rustdoc_path #96012
Comments
rust/compiler/rustc_resolve/src/lib.rs Lines 1826 to 1835 in f38c5c8
|
Related to #108762 I have a reliable repro of this panic (
I'm using NixOS, but only Repro
If you try this on NixOS, you will likely need to create a flake.nix{
description = "NixOS environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell.${system} = with pkgs;
mkShell rec {
# Rust binaries need to be able to link and load some system libraries.
buildInputs = [
pkg-config
udev
];
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
};
};
} And then Error logs
|
Code
"all of rustdoc, plus broken changes from #95450"
Meta
rustc --version --verbose
: rustc 1.62.0 (23a96e02d 2022-04-13)@rustbot label +T-rustdoc +A-resolve
Error output
See the logs for https://github.com/rust-lang-ci/rust/runs/6005865530?check_suite_focus=true.
@petrochenkov this may not be worth investigating until I find a way to reproduce locally - just tagging you in case it's a simple fix.
Backtrace
The text was updated successfully, but these errors were encountered: