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

ices/86719.rs: fixed with errors #1197

Closed
wants to merge 1 commit into from
Closed

Commits on Mar 31, 2022

  1. ices/86719.rs: fixed with errors

    === 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:9:2
      |
    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`.
    ==============
    rustbot committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    473d1a7 View commit details
    Browse the repository at this point in the history