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

ices/84789.rs: fixed with errors #1384

Merged
merged 1 commit into from
Aug 13, 2022
Merged

ices/84789.rs: fixed with errors #1384

merged 1 commit into from
Aug 13, 2022

Commits on Aug 13, 2022

  1. ices/84789.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0038]: the trait alias `MyFn` cannot be made into an object
     --> /home/runner/work/glacier/glacier/ices/84789.rs:6:18
      |
    6 | pub type F = dyn MyFn;
      |                  ^^^^
      |
      = note: it cannot use `Self` as a type parameter in a supertrait or `where`-clause
    
    error[E0038]: the trait alias `MyFn` cannot be made into an object
     --> /home/runner/work/glacier/glacier/ices/84789.rs:9:19
      |
    9 | pub fn f(_f: &dyn MyFn) {
      |                   ^^^^
      |
      = note: it cannot use `Self` as a type parameter in a supertrait or `where`-clause
    
    error: aborting due to 2 previous errors
    
    For more information about this error, try `rustc --explain E0038`.
    ==============
    rustbot committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    4d06742 View commit details
    Browse the repository at this point in the history