-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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] Static items with an fn type which uses a wildcard results in an ICE #74086
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
RDambrosio016
added
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.
labels
Jul 6, 2020
lcnr
added
the
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
label
Jul 6, 2020
rustbot
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Jul 6, 2020
Regressed between version 1.43.0 and 1.44.1 |
spastorino
added
P-medium
Medium priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Jul 7, 2020
Prioritized as |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 13, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 13, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 13, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 13, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 14, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 14, 2020
…der-type-error, r=estebank typeck: report placeholder type error w/out span Fixes rust-lang#74086. This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available. r? @estebank
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) ❄️
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=534f07f9eb0e8b5f12f6fd99b5b98f24
The actual cause seems to be the
fn(_)
, return type does not affect itMeta
rustc --version --verbose
:The bug seems to appear in both stable and nightly
Error output
Backtrace
The text was updated successfully, but these errors were encountered: