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

ices/66706-1.rs: fixed with errors #331

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Commits on Apr 16, 2020

  1. ices/66706-1.rs: fixed with errors

    === stdout ===
    === stderr ===
    error: expected `,`, found `&`
     --> /home/runner/work/glacier/glacier/ices/66706-1.rs:2:17
      |
    2 |     [0; [|&_: _ &_| {}; 0 ].len()]
      |                -^ expected `,`
      |                |
      |                help: missing `,`
    
    error[E0308]: mismatched types
     --> /home/runner/work/glacier/glacier/ices/66706-1.rs:2:5
      |
    1 | fn bug() {
      |          - help: try adding a return type: `-> [{integer}; _]`
    2 |     [0; [|&_: _ &_| {}; 0 ].len()]
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found array `[{integer}; _]`
    
    error: aborting due to 2 previous errors
    
    For more information about this error, try `rustc --explain E0308`.
    ==============
    rustbot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    bf55cc6 View commit details
    Browse the repository at this point in the history