From 43af069907b089bbf15edcb27f0842658239a565 Mon Sep 17 00:00:00 2001 From: rustbot Date: Sat, 16 Jul 2022 03:33:23 +0000 Subject: [PATCH] ices/95829.rs: fixed with errors === stdout === === stderr === error: incorrect function inside `extern` block --> /home/runner/work/glacier/glacier/ices/95829.rs:2:14 | 1 | extern { | ------ `extern` blocks define existing foreign functions and functions inside of them cannot have a body 2 | async fn L() { | ______________^___- | | | | | cannot have a body 3 | | async fn M() {} 4 | | } | |_____- help: remove the invalid body: `;` | = help: you might have meant to write a function accessible through FFI, which can be done by writing `extern fn` outside of the `extern` block = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html error: functions in `extern` blocks cannot have qualifiers --> /home/runner/work/glacier/glacier/ices/95829.rs:2:14 | 1 | extern { | ------ in this `extern` block 2 | async fn L() { | ^ | help: remove the qualifiers | 2 | fn L() { | ~~ error[E0601]: `main` function not found in crate `95829` --> /home/runner/work/glacier/glacier/ices/95829.rs:5:2 | 5 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/95829.rs` error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0601`. ============== --- {ices => fixed}/95829.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/95829.rs (100%) diff --git a/ices/95829.rs b/fixed/95829.rs similarity index 100% rename from ices/95829.rs rename to fixed/95829.rs