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

ices/63300.rs: fixed with errors #238

Merged
merged 1 commit into from
Dec 23, 2019
Merged

ices/63300.rs: fixed with errors #238

merged 1 commit into from
Dec 23, 2019

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#63300

trait Functor<A> {
    type HigherSelf<T>: Functor<T>;
}
=== stdout ===
=== stderr ===
error[E0658]: generic associated types are unstable
 --> /home/runner/work/glacier/glacier/ices/63300.rs:2:5
  |
2 |     type HigherSelf<T>: Functor<T>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = 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[E0601]: `main` function not found in crate `63300`
 --> /home/runner/work/glacier/glacier/ices/63300.rs:1:1
  |
1 | / trait Functor<A> {
2 | |     type HigherSelf<T>: Functor<T>;
3 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/63300.rs`

error: type-generic associated types are not yet implemented
 --> /home/runner/work/glacier/glacier/ices/63300.rs:2:5
  |
2 |     type HigherSelf<T>: Functor<T>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/44265

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0601, E0658.
For more information about an error, try `rustc --explain E0601`.
==============

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

error[E0601]: `main` function not found in crate `63300`
 --> /home/runner/work/glacier/glacier/ices/63300.rs:1:1
  |
1 | / trait Functor<A> {
2 | |     type HigherSelf<T>: Functor<T>;
3 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/63300.rs`

error: type-generic associated types are not yet implemented
 --> /home/runner/work/glacier/glacier/ices/63300.rs:2:5
  |
2 |     type HigherSelf<T>: Functor<T>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see rust-lang/rust#44265

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0601, E0658.
For more information about an error, try `rustc --explain E0601`.
==============
@JohnTitor JohnTitor merged commit d866be3 into master Dec 23, 2019
@JohnTitor JohnTitor deleted the autofix/ices/63300.rs branch December 23, 2019 12:12
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