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

ices/68656.sh: fixed with errors #411

Merged
merged 1 commit into from
Jun 22, 2020
Merged

ices/68656.sh: fixed with errors #411

merged 1 commit into from
Jun 22, 2020

Commits on Jun 22, 2020

  1. ices/68656.sh: fixed with errors

    === stdout ===
    === stderr ===
    warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
     --> <anon>:1:12
      |
    1 | #![feature(generic_associated_types)]
      |            ^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(incomplete_features)]` on by default
      = note: see issue #44265 <rust-lang/rust#44265> for more information
    
    error[E0277]: the trait bound `T: std::ops::Deref` is not satisfied
      --> <anon>:12:5
       |
    4  |     type Item<'a>: std::ops::Deref<Target = T>;
       |     ------------------------------------------- required by `UnsafeCopy::Item`
    ...
    12 |     type Item<'a> = T;
       |     ^^^^^^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `T`
       |
    help: consider further restricting this bound
       |
    11 | impl <T: Copy + std::ops::Deref> UnsafeCopy<T> for T {
       |               ^^^^^^^^^^^^^^^^^
    
    error: aborting due to previous error; 1 warning emitted
    
    For more information about this error, try `rustc --explain E0277`.
    ==============
    rustbot committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    3e24e16 View commit details
    Browse the repository at this point in the history