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

ices/73260.sh: fixed with errors #469

Merged
merged 1 commit into from
Sep 23, 2020
Merged

ices/73260.sh: fixed with errors #469

merged 1 commit into from
Sep 23, 2020

Commits on Sep 23, 2020

  1. ices/73260.sh: fixed with errors

    === stdout ===
    === stderr ===
    error: constant expression depends on a generic parameter
     --> <anon>:4:47
      |
    4 | where Assert::<{N < usize::max_value() / 2}>: IsTrue,
      |                                               ^^^^^^
      |
      = note: this may fail depending on what value the parameter takes
    
    error[E0308]: mismatched types
      --> <anon>:15:12
       |
    15 |     let x: Arr<{usize::max_value()}> = Arr {};
       |            ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `false`, found `true`
       |
       = note: expected type `false`
                  found type `true`
    
    error[E0308]: mismatched types
      --> <anon>:15:40
       |
    15 |     let x: Arr<{usize::max_value()}> = Arr {};
       |                                        ^^^ expected `false`, found `true`
       |
       = note: expected type `false`
                  found type `true`
    
    error: aborting due to 3 previous errors
    
    For more information about this error, try `rustc --explain E0308`.
    ==============
    rustbot committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    4e14f9d View commit details
    Browse the repository at this point in the history