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

ices/83472.rs: fixed with errors #1034

Merged
merged 1 commit into from
Dec 5, 2021
Merged

ices/83472.rs: fixed with errors #1034

merged 1 commit into from
Dec 5, 2021

Commits on Dec 5, 2021

  1. ices/83472.rs: fixed with errors

    === stdout ===
    === stderr ===
    error: at least one trait must be specified
     --> /home/runner/work/glacier/glacier/ices/83472.rs:1:35
      |
    1 | fn yes_double_ended_iterator() -> impl {
      |                                   ^^^^
    
    error[E0658]: yield syntax is experimental
     --> /home/runner/work/glacier/glacier/ices/83472.rs:2:5
      |
    2 |     yield
      |     ^^^^^
      |
      = note: see issue #43122 <rust-lang/rust#43122> for more information
      = help: add `#![feature(generators)]` to the crate attributes to enable
    
    error[E0601]: `main` function not found in crate `83472`
     --> /home/runner/work/glacier/glacier/ices/83472.rs:1:1
      |
    1 | / fn yes_double_ended_iterator() -> impl {
    2 | |     yield
    3 | | }
      | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83472.rs`
    
    error[E0627]: yield expression outside of generator literal
     --> /home/runner/work/glacier/glacier/ices/83472.rs:2:5
      |
    2 |     yield
      |     ^^^^^
    
    error: aborting due to 4 previous errors
    
    Some errors have detailed explanations: E0601, E0627, E0658.
    For more information about an error, try `rustc --explain E0601`.
    ==============
    rustbot committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    783eef6 View commit details
    Browse the repository at this point in the history