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

ices/85455.rs: fixed with errors #936

Closed
wants to merge 1 commit into from

Commits on Aug 26, 2021

  1. ices/85455.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0277]: the trait bound `T: SomeTrait<'_>` is not satisfied
     --> /home/runner/work/glacier/glacier/ices/85455.rs:8:5
      |
    8 |     callee::<fn(&()) -> <T as SomeTrait<'_>>::Associated>();
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SomeTrait<'_>` is not implemented for `T`
      |
    help: consider restricting type parameter `T`
      |
    7 | fn give_me_ice<T: SomeTrait<'_>>() {
      |                 +++++++++++++++
    
    error: aborting due to previous error
    
    For more information about this error, try `rustc --explain E0277`.
    ==============
    rustbot committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    3698827 View commit details
    Browse the repository at this point in the history