-
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
Const generic parameter of type &'static [_]
causes ICE
#73727
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-const_generics
`#![feature(const_generics)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
yvt
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
Jun 25, 2020
yvt
added a commit
to r3-os/r3
that referenced
this issue
Jun 25, 2020
…parameters This commit implements a work-around for this issue: <rust-lang/rust#73727>
jonas-schievink
added
A-const-generics
Area: const generics (parameters and arguments)
F-const_generics
`#![feature(const_generics)]`
requires-nightly
This issue requires a nightly compiler in some way.
labels
Jun 25, 2020
This works with |
varkor
added
const-generics-fixed-by-const_generics
A bug that has been fixed once `const_generics` is enabled.
const-generics-needs-test-for-min_const_generics
and removed
const-generics-fixed-by-const_generics
A bug that has been fixed once `const_generics` is enabled.
labels
Sep 13, 2020
varkor
added
const-generics-fixed-by-const_generics
A bug that has been fixed once `const_generics` is enabled.
const-generics-fixed-by-min_const_generics
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
and removed
const-generics-needs-test-for-min_const_generics
const-generics-fixed-by-const_generics
A bug that has been fixed once `const_generics` is enabled.
labels
Oct 1, 2020
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Oct 5, 2020
…lcnr,estebank Fix missing diagnostic span for `impl Trait` with const generics, and add various tests for `min_const_generics` and `const_generics` Closes rust-lang#61410. Adds `min_const_generics` tests for: - rust-lang#73727 - rust-lang#72293 - rust-lang#67375 - rust-lang#75153 - rust-lang#71922 - rust-lang#69913 - rust-lang#67945 - rust-lang#69239 Adds `const_generics` tests for: - rust-lang#67375 - rust-lang#75153 - rust-lang#71922 - rust-lang#69913 - rust-lang#67945 - rust-lang#69239 (I only added separate `min_const_generics` and `const_generics` tests if they were handled differently by the two features.) We need to figure out how to deduplicate when `const_generics` is stabilised, but we can discuss that later. For now, we should be checking neither feature breaks, so require regression tests for both. I've given them identical names when I've added both, which should make it easier to spot them later. r? @lcnr
JohnTitor
removed
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Oct 9, 2020
No longer ICEs since #89147 |
Alexendoo
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Sep 23, 2021
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Jun 21, 2022
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Jun 21, 2022
…rrors Add a full regression test for rust-lang#73727 Closes rust-lang#73727 This also moves a test to the `issues` directory as it's also tested on the adt_const_params feature. r? `@compiler-errors` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Jun 21, 2022
…rrors Add a full regression test for rust-lang#73727 Closes rust-lang#73727 This also moves a test to the `issues` directory as it's also tested on the adt_const_params feature. r? ``@compiler-errors`` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 22, 2022
Rollup of 6 pull requests Successful merges: - rust-lang#97867 (lub: don't bail out due to empty binders) - rust-lang#98099 (interpret: convert_tag_add_extra: allow tagger to raise errors) - rust-lang#98199 (Move some tests to more reasonable directories) - rust-lang#98334 (Add a full regression test for rust-lang#73727) - rust-lang#98336 (Remove the unused-`#[doc(hidden)]` logic from the `unused_attributes` lint) - rust-lang#98344 (This comment is out dated and misleading, the arm is about TAITs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-const_generics
`#![feature(const_generics)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: