Skip to content
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

Weird bug in Higher Rank Trait Bounds resolutions #295

Open
hhirtz opened this issue Sep 24, 2021 · 3 comments
Open

Weird bug in Higher Rank Trait Bounds resolutions #295

hhirtz opened this issue Sep 24, 2021 · 3 comments

Comments

@hhirtz
Copy link

hhirtz commented Sep 24, 2021

Stumbled on a weird compilation error triggered by sprs "presence" (??).

The following project fails to build unless extern crate sprs is commented: https://github.com/hhirtz/sprs-hrtb-bug/blob/master/src/lib.rs

Of course the compilation error does not come from this line: it will appear if sprs is used elsewhere in the cargo project. (e.g. you can replace "extern crate" with type Hi = sprs::CsMatView<'static, u32>; to trigger the error).

Happens on
cargo 1.55.0 (32da73ab1 2021-08-23) with sprs 0.11.0 and sprs 0.10.0
cargo 1.49.0 (d00d64df9 2020-12-05) with sprs 0.11.0
cargo 1.42.0 (86334295e 2020-01-31) with sprs 0.10.0

@hhirtz
Copy link
Author

hhirtz commented Sep 24, 2021

sprs 0.9.0 works fine

@hhirtz
Copy link
Author

hhirtz commented Sep 24, 2021

d2f0da7 is the first bad commit

@hhirtz
Copy link
Author

hhirtz commented Sep 24, 2021

Might be related to rust-lang/rust#85063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant