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

ices/69136.rs: fixed with errors #396

Merged
merged 1 commit into from
Jun 17, 2020
Merged

ices/69136.rs: fixed with errors #396

merged 1 commit into from
Jun 17, 2020

Commits on Jun 16, 2020

  1. ices/69136.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0261]: use of undeclared lifetime name `'a`
      --> /home/runner/work/glacier/glacier/ices/69136.rs:10:54
       |
    9  | type Return<A> // 'a is not in scope
       |             - help: consider introducing lifetime `'a` here: `'a,`
    10 |     = impl WithAssoc<A, AssocType = impl SomeTrait + 'a>;
       |                                                      ^^ undeclared lifetime
    
    error[E0277]: the trait bound `(): WithAssoc<()>` is not satisfied
      --> /home/runner/work/glacier/glacier/ices/69136.rs:10:7
       |
    10 |     = impl WithAssoc<A, AssocType = impl SomeTrait + 'a>;
       |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WithAssoc<()>` is not implemented for `()`
       |
       = note: the return type of a function must have a statically known size
    
    error[E0277]: the trait bound `(): WithAssoc<()>` is not satisfied
      --> /home/runner/work/glacier/glacier/ices/69136.rs:10:37
       |
    10 |     = impl WithAssoc<A, AssocType = impl SomeTrait + 'a>;
       |                                     ^^^^^^^^^^^^^^^^^^^ the trait `WithAssoc<()>` is not implemented for `()`
       |
       = note: the return type of a function must have a statically known size
    
    error: aborting due to 3 previous errors
    
    Some errors have detailed explanations: E0261, E0277.
    For more information about an error, try `rustc --explain E0261`.
    ==============
    rustbot committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    412d8d0 View commit details
    Browse the repository at this point in the history