-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Using Self::default() instead of TypeAlias::default() causes an ICE on nightly. #54785
Comments
Nevermind, I believe I found the culprit https://github.com/rust-lang/rust/pull/52568/files#diff-2c49ea48a32b1e12546e0517e544ef58R315 @oli-obk can you take a look? I'm not sure I understand why we're |
I will try this in those nightlys anyway and report which ones break. |
I tested on the rust nightly versions listed bellow on Works fine in nightly-2018-08-19-i686-unknown-linux-gnu . The output is long enough that I appended some files with their output. 2018-08-26-error.txt |
The actual error is
The |
@rodrimati1992 Could you produce a minimal example for this? Also, does it reproduce on the current nightly? |
I'll leave it at can't reproduce with a minimal example,I tried to but couldn't. I haven't touched the |
@rustbot ping icebreakers-cleanup-crew |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @jakevossen5 @KarlK90 @LeSeulArtichaut @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
Sorry, I was a bit fast to ping the cleanup-crew group. In an ideal world what we would like to do is to go back to the rustc version where this started to manifest and try to get an MVCE and then try to see if this is still an issue in current rustc versions. However, the bug as written is based on abandoned code and it's kind of non actionable for us. |
After going over this with @pnkfelix we decided to tag as |
Closing this as non actionable as per comment from last triage meeting. If someone wants to provide an MCVE and something that is more actionable, please feel free to comment and we can reopen this issue. |
In the process of adding my project to travis-ci I got a nightly ICE from using "Self::default() instead of TypeAlias::default()" inside an impl block for type aliases.This works fine on stable.
This is the log for the first error:
https://travis-ci.org/rodrimati1992/type_level/jobs/436599429
This is the log for the second error:
https://travis-ci.org/rodrimati1992/type_level/jobs/436607478
This are the changes made to add the project to travis-ci,
including the commits that fix the error in my project:
rodrimati1992/type_level@9411158
The files that were changed to fix the error were :
type_level_examples/src/bin/_03_vis_wrapper.rs
type_level_examples/src/bin/_07_split_mut.rs
The text was updated successfully, but these errors were encountered: