-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 panicked at 'assertion failed: !substs.has_erasable_regions()' #48890
Labels
A-codegen
Area: Code generation
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
cuviper
added
A-codegen
Area: Code generation
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
Mar 10, 2018
2 tasks
This can be reproduced with simpler code, not involving external crates (or even std for that matter). fn main() -> Result<(), &'static str> {
Err("An error message for you")
} |
12 tasks
There is a similar issue |
Nominating because |
See also #48389 |
bors
added a commit
that referenced
this issue
Apr 7, 2018
Fix ICE with `main`'s return type containing lifetimes Fixes #48890
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-codegen
Area: Code generation
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.
thread 'rustc' panicked at 'assertion failed: !substs.has_erasable_regions()', librustc_trans_utils/symbol_names.rs:192:9
I tried this code:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: