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

Commit b5b4f30

Browse files
committed
ices/112822.rs: fixed with errors
=== stdout === === stderr === error[E0658]: const closures are experimental --> /home/runner/work/glacier/glacier/ices/112822.rs:4:5 | 4 | const move || { | ^^^^^ | = note: see issue #106003 <rust-lang/rust#106003> for more information = help: add `#![feature(const_closures)]` to the crate attributes to enable error[E0015]: cannot call non-const operator in constant functions --> /home/runner/work/glacier/glacier/ices/112822.rs:9:17 | 9 | assert_eq!(first, &b'f'); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0015]: cannot call non-const fn `core::panicking::assert_failed::<&u8, &u8>` in constant functions --> /home/runner/work/glacier/glacier/ices/112822.rs:9:17 | 9 | assert_eq!(first, &b'f'); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 3 previous errors Some errors have detailed explanations: E0015, E0658. For more information about an error, try `rustc --explain E0015`. ==============
1 parent 9bcaa67 commit b5b4f30

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)