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

ices/71805.rs: fixed with errors #434

Merged
merged 1 commit into from
Jul 16, 2020
Merged

ices/71805.rs: fixed with errors #434

merged 1 commit into from
Jul 16, 2020

Commits on Jul 16, 2020

  1. ices/71805.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0596]: cannot borrow `foos` as mutable, as it is not declared as mutable
      --> /home/runner/work/glacier/glacier/ices/71805.rs:37:26
       |
    36 |     let foos = [0_u64; 9].iter().cloned();
       |         ---- help: consider changing this to be mutable: `mut foos`
    37 |     let _bar: [u64; 9] = foos.collect_array::<9_usize>();
       |                          ^^^^ cannot borrow as mutable
    
    error: aborting due to previous error
    
    For more information about this error, try `rustc --explain E0596`.
    ==============
    rustbot committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    72221e9 View commit details
    Browse the repository at this point in the history