1 error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
2 --> $DIR/unstable-const-fn-in-libcore.rs:24:26
7 error[E0493]: destructors cannot be evaluated at compile-time
8 --> $DIR/unstable-const-fn-in-libcore.rs:19:53
10 LL | const fn unwrap_or_else<F: FnOnce() -> T>(self, f: F) -> T {
11 | ^ constant functions cannot evaluate destructors
14 | - value is dropped here
16 error[E0493]: destructors cannot be evaluated at compile-time
17 --> $DIR/unstable-const-fn-in-libcore.rs:19:47
19 LL | const fn unwrap_or_else<F: FnOnce() -> T>(self, f: F) -> T {
20 | ^^^^ constant functions cannot evaluate destructors
23 | - value is dropped here
25 error: aborting due to 3 previous errors
27 Some errors have detailed explanations: E0015, E0493.
28 For more information about an error, try `rustc --explain E0015`.