Skip to content

Commit

Permalink
ices/86719.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error: at least one trait must be specified
 --> /home/runner/work/glacier/glacier/ices/86719.rs:5:14
  |
5 |     type E = impl ;
  |              ^^^^

error[E0407]: method `foo` is not a member of trait `Bar`
 --> /home/runner/work/glacier/glacier/ices/86719.rs:6:5
  |
6 | /     fn foo() -> Self::E {
7 | |         |_| true
8 | |     }
  | |_____^ not a member of trait `Bar`

error[E0658]: `impl Trait` in type aliases is unstable
 --> /home/runner/work/glacier/glacier/ices/86719.rs:5:14
  |
5 |     type E = impl ;
  |              ^^^^
  |
  = note: see issue #63063 <rust-lang/rust#63063> for more information
  = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable

error[E0601]: `main` function not found in crate `86719`
 --> /home/runner/work/glacier/glacier/ices/86719.rs:1:1
  |
1 | / trait Bar {
2 | |     type E;
3 | | }
4 | | impl<S> Bar for S {
... |
8 | |     }
9 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/86719.rs`

error[E0282]: type annotations needed
 --> /home/runner/work/glacier/glacier/ices/86719.rs:7:10
  |
7 |         |_| true
  |          ^ consider giving this closure parameter a type

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0282, E0407, E0601, E0658.
For more information about an error, try `rustc --explain E0282`.
==============
  • Loading branch information
rustbot committed Feb 9, 2022
1 parent c431092 commit 130535b
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 130535b

Please sign in to comment.