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

ices/54038.rs: fixed with errors #576

Closed
wants to merge 1 commit into from

Commits on Dec 28, 2020

  1. ices/54038.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0601]: `main` function not found in crate `54038`
      --> /home/runner/work/glacier/glacier/ices/54038.rs:1:1
       |
    1  | / struct Foo<'a> {
    2  | |     data: &'a [u8],
    3  | | }
    4  | |
    ...  |
    9  | |     }
    10 | | }
       | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/54038.rs`
    
    error: generic `Self` types are currently not permitted in anonymous constants
     --> /home/runner/work/glacier/glacier/ices/54038.rs:7:27
      |
    7 |     fn bar(buf: &mut [u8; Self::LEN]) {
      |                           ^^^^^^^^^
      |
    note: not a concrete type
     --> /home/runner/work/glacier/glacier/ices/54038.rs:5:10
      |
    5 | impl<'a> Foo<'a> {
      |          ^^^^^^^
    
    error: aborting due to 2 previous errors
    
    For more information about this error, try `rustc --explain E0601`.
    ==============
    rustbot committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    8cd18b3 View commit details
    Browse the repository at this point in the history