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

ices/57200.rs: fixed with errors #290

Merged
merged 1 commit into from
Feb 16, 2020
Merged

ices/57200.rs: fixed with errors #290

merged 1 commit into from
Feb 16, 2020

Commits on Feb 16, 2020

  1. ices/57200.rs: fixed with errors

    === stdout ===
    === stderr ===
    warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
     --> /home/runner/work/glacier/glacier/ices/57200.rs:1:12
      |
    1 | #![feature(impl_trait_in_bindings)]
      |            ^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(incomplete_features)]` on by default
    
    error: lifetimes in impl Trait types in bindings are not currently supported
     --> /home/runner/work/glacier/glacier/ices/57200.rs:7:12
      |
    7 |     let f: impl Fn(&'a T) -> &'b T = |x| x;
      |            ^^^^^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to previous error
    
    ==============
    rustbot committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    d2b10e9 View commit details
    Browse the repository at this point in the history