-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Complier Crash: internal compiler error: cannot relate bound region #44718
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
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Exactly same error here. My code can be found here: hashedone/rpgtool@022e181. I found, that the problem is with "impl Trait", everything compiles when I change
to:
rustc version:
Full backtrace:
|
@sbwtw I believe this should be fixed now. Can you try on the latest nightly and confirm? |
Tested locally, this is fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm using Rocket to build my website, and got a complier error, here is a minimum demo to reproduce:
Cargo.toml:
main.rs:
here is output after execute
cargo build --verbose
cc @SergioBenitez
The text was updated successfully, but these errors were encountered: