-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: name of non-Rpitit assoc item
#140058
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
Comments
Oh, hmmm it seems the ICE only happens when one of my projects is included as a dependency, I orignally found it in some code using it, so pulled it into my test project for this, and when I narrowed the repro to something that didnt import it I didnt think to test removing it from the the package is I really have no clue what in natrix might be triggering this when it isnt even used in the code. |
I managed to cut down the repo more, it seems like the requirements are:
|
Hmm, so I found that trait Bar {
fn hello() -> impl PartialEq;
}
struct Hello;
impl Hello::What {} seems to trigger the same panic without having to depend on But creating a crate with trait bar {
fn hello() -> impl partialeq;
} and depending on it in a crate with struct Hello;
trait Foo {
type Data: i32;
}
impl Hello::What {} causes the panic (and removing |
This might get fixed by #139981 ? (I initally didnt think it was a duplicate of its two linked issue since the original repro didnt have a |
Unknown labels: S-has-repro |
Code
With
natrix = "1.0.0"
as a dependency in the project.Meta
rustc --version --verbose
:Error Output
Backtrace
The text was updated successfully, but these errors were encountered: