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

ices/98932.rs: fixed with errors #1359

Merged
merged 1 commit into from
Jul 28, 2022
Merged

ices/98932.rs: fixed with errors #1359

merged 1 commit into from
Jul 28, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#98932

pub struct EntriesBuffer(Box<[[u8; HashesEntry::LEN]; 5]>);

impl EntriesBuffer {
    pub fn iter_child_buffers(&mut self) -> impl Iterator<Item = &mut [u8; HashesEntry::LEN]> {
        self.0.iter_mut()
    }
}

pub struct HashesEntry<'a>(&'a [u8]);

impl HashesEntry<'_> {
    pub const LEN: usize = 1;
}
=== stdout ===
=== stderr ===
error[E0601]: `main` function not found in crate `98932`
  --> /home/runner/work/glacier/glacier/ices/98932.rs:13:2
   |
13 | }
   |  ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/98932.rs`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0601`.
==============

=== stdout ===
=== stderr ===
error[E0601]: `main` function not found in crate `98932`
  --> /home/runner/work/glacier/glacier/ices/98932.rs:13:2
   |
13 | }
   |  ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/98932.rs`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0601`.
==============
@Alexendoo Alexendoo merged commit 59c8820 into master Jul 28, 2022
@Alexendoo Alexendoo deleted the autofix/ices/98932.rs branch July 28, 2022 11:17
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