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

Commit

Permalink
ices/93622.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0277]: the size for values of type `(dyn Fn(u64) -> u64 + 'a)` cannot be known at compilation time
  --> /home/runner/work/glacier/glacier/ices/93622.rs:16:68
   |
15 |             height_cps(l, {let k : Box<Cont> = Box::new(move |lh| {
   |                                                              ---- this closure captures all values by move
16 |                 height_cps(r, {let k : Box<Cont> = Box::new(|lr| { k(1 + lh.max(lr)) }); *k})
   |                                                                    ^ doesn't have a size known at compile-time
   |
   = help: the trait `Sized` is not implemented for `(dyn Fn(u64) -> u64 + 'a)`
   = note: all values captured by value by a closure must have a statically known size

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
==============
  • Loading branch information
rustbot committed Sep 24, 2023
1 parent a4d6dc2 commit 01fdb2c
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 01fdb2c

Please sign in to comment.