-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: #[rustc_variance] on trait: asked to compute variance for wrong kind of item #79699
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The ICE happens on stable as well, for some reason. |
@rustbot modify labels to +regression-from-stable-to-stable |
@Stupremee Why did you remove |
Assigning |
To reproduce the ICE you don't need nightly and thus I thought it's wrong. Correct me if I'm misunderstanding the |
TMK, we use |
A duplicate. #![feature(rustc_attrs)]
#[rustc_variance]
impl Words {} |
Bisected: Regression in nightly-2018-09-10 found 8 bors merge commits in the specified range |
Another duplicate. #![feature(rustc_attrs)]
#[rustc_variance]
const GOO: Cake; |
|
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: