You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== stdout ===
=== stderr ===
error[E0658]: `match` is not allowed in a `const`
--> /home/runner/work/glacier/glacier/ices/67405.rs:2:17
|
2 | inner: [(); match || 1 {
| _________________^
3 | | n => n(),
4 | | }],
| |_____^
|
= note: for more information, see rust-lang/rust#49146
= help: add `#![feature(const_if_match)]` to the crate attributes to enable
error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
--> /home/runner/work/glacier/glacier/ices/67405.rs:3:14
|
3 | n => n(),
| ^^^
error[E0080]: evaluation of constant value failed
--> /home/runner/work/glacier/glacier/ices/67405.rs:3:14
|
3 | n => n(),
| ^^^ calling non-const function `Bug::inner::{{constant}}#0::{{closure}}#0`
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0015, E0080, E0658.
For more information about an error, try `rustc --explain E0015`.
==============
Co-authored-by: rustbot <[email protected]>
0 commit comments