-
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
ICE rustc 1.73.0 in compiler/rustc_metadata/src/rmeta/decoder.rs:1174:17 const generic trait #116662
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
jordens
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
Oct 12, 2023
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Oct 12, 2023
saethlin
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Oct 22, 2023
olanod
added a commit
to olanod/polkadot-sdk
that referenced
this issue
Nov 20, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
olanod
added a commit
to olanod/polkadot-sdk
that referenced
this issue
Nov 20, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
olanod
added a commit
to virto-network/polkadot-sdk
that referenced
this issue
Nov 21, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
olanod
added a commit
to virto-network/polkadot-sdk
that referenced
this issue
Nov 21, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
olanod
added a commit
to virto-network/polkadot-sdk
that referenced
this issue
Dec 21, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
pandres95
pushed a commit
to virto-network/polkadot-sdk
that referenced
this issue
Dec 22, 2023
Using an iterator instead of a static slice allows for more flexible implementations of `TracksInfo` that can use the chain storage without compromising a lot on the performance/memory penalty if we were to return an owned `Vec` instead. NOTE: This feature will benefit from the soon to be released return_position_impl_trait_in_trait(rust-lang/rust#115822) to not require the `TracksIter` associated type and from a bugfix in the compiler(rust-lang/rust#116662) to declare the DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
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.
Code
https://github.com/jordens/rust-ice-trait-mcve
lib.rs
:bin/mcve.rs
:Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: