-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE "Not enough bound vars" #104916
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.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-associated_type_bounds
`#![feature(associated_type_bounds)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
Nov 26, 2022
jruderman tried to add this in rust-lang#104916, for example. I think I've seen this happen before as well.
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Nov 27, 2022
…ertions, r=Mark-Simulacrum Allow non-org members to label `requires-debug-assertions` `jruderman` tried to add this in rust-lang#104916, for example. I think I've seen this happen before as well.
@rustbot label +F-associated_type_bounds |
It seems this no longer crashes when checking with debug assertions :) |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Apr 10, 2023
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Apr 10, 2023
…-errors Add regression test for rust-lang#104916 Closes rust-lang#104916 I haven't tested if it still passes with debug assertions enabled so it'd be better to wait for CI to be green. r? compiler-errors
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Apr 11, 2023
…-errors Add regression test for rust-lang#104916 Closes rust-lang#104916 I haven't tested if it still passes with debug assertions enabled so it'd be better to wait for CI to be green. r? compiler-errors
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 11, 2023
Rollup of 8 pull requests Successful merges: - rust-lang#109527 (Set up standard library path substitution in rust-gdb and gdbgui) - rust-lang#109752 (Stall auto trait assembly in new solver for int/float vars) - rust-lang#109860 (Add support for RISC-V relax target feature) - rust-lang#109923 (Update `error [E0449]: unnecessary visibility qualifier` to be more clear) - rust-lang#110070 (The `wrapping_neg` example for unsigned types shouldn't use `i8`) - rust-lang#110146 (fix(doc): do not parse inline when output is json for external crate) - rust-lang#110147 (Add regression test for rust-lang#104916) - rust-lang#110149 (Update books) 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
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-associated_type_bounds
`#![feature(associated_type_bounds)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found with a modified fuzz-rustc
Code
ICE (with debug assertions enabled)
error: internal compiler error: compiler/rustc_middle/src/ty/visit.rs:415: Not enough bound vars:
BoundRegion { var: 0, kind: BrNamed(DefId(0:6 ~ hy[af0c]::f::'j), 'j) }
not found in[]
Backtrace
Version
stage1 built from 8681d4c with debug assertions
config.toml
@rustbot label +F-associated_type_bounds +requires-debug-assertions
The text was updated successfully, but these errors were encountered: