Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

ices/67424.rs: fixed with errors #235

Merged
merged 1 commit into from
Dec 23, 2019
Merged

ices/67424.rs: fixed with errors #235

merged 1 commit into from
Dec 23, 2019

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#67424

trait Trait1 {
    type A;
}

trait Trait2 {
    type Type1<B>: Trait1<A = B>;
}

fn main() {}
=== stdout ===
=== stderr ===
error[E0658]: generic associated types are unstable
 --> /home/runner/work/glacier/glacier/ices/67424.rs:6:5
  |
6 |     type Type1<B>: Trait1<A = B>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/44265
  = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

error: type-generic associated types are not yet implemented
 --> /home/runner/work/glacier/glacier/ices/67424.rs:6:5
  |
6 |     type Type1<B>: Trait1<A = B>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/44265

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
==============

=== stdout ===
=== stderr ===
error[E0658]: generic associated types are unstable
 --> /home/runner/work/glacier/glacier/ices/67424.rs:6:5
  |
6 |     type Type1<B>: Trait1<A = B>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see rust-lang/rust#44265
  = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

error: type-generic associated types are not yet implemented
 --> /home/runner/work/glacier/glacier/ices/67424.rs:6:5
  |
6 |     type Type1<B>: Trait1<A = B>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see rust-lang/rust#44265

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
==============
@JohnTitor JohnTitor merged commit d33f37c into master Dec 23, 2019
@JohnTitor JohnTitor deleted the autofix/ices/67424.rs branch December 23, 2019 12:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants