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[E0601]: `main` function not found in crate `76510`
--> /home/runner/work/glacier/glacier/ices/76510.rs:1:1
|
1 | / struct Dummy;
2 | |
3 | | impl Dummy {
4 | | const fn func(&mut self) -> usize {
... |
11 | | DUMMY.func()
12 | | }];
| |___^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/76510.rs`
error[E0596]: cannot borrow data in a `&` reference as mutable
--> /home/runner/work/glacier/glacier/ices/76510.rs:11:5
|
11 | DUMMY.func()
| ^^^^^ cannot borrow as mutable
error[E0658]: mutable references are not allowed in constant functions
--> /home/runner/work/glacier/glacier/ices/76510.rs:4:19
|
4 | const fn func(&mut self) -> usize {
| ^^^^^^^^^
|
= note: see issue #57349 <rust-lang/rust#57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0596, E0601, E0658.
For more information about an error, try `rustc --explain E0596`.
==============
0 commit comments