From 24a50f3194367aa567216f19488b99883dec82a3 Mon Sep 17 00:00:00 2001 From: rustbot Date: Fri, 5 Aug 2022 03:36:34 +0000 Subject: [PATCH] ices/99777-2.rs: fixed with errors === stdout === === stderr === warning: unused doc comment --> /home/runner/work/glacier/glacier/ices/99777-2.rs:2:5 | 2 | #[doc(alias = "test")] | ^^^^^^^^^^^^^^^^^^^^^^ 3 | let num_flags = 0; | ------------------ rustdoc does not generate documentation for statements | = note: `#[warn(unused_doc_comments)]` on by default = help: use `//` for a plain comment error[E0601]: `main` function not found in crate `99777_2` --> /home/runner/work/glacier/glacier/ices/99777-2.rs:4:2 | 4 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/99777-2.rs` error: `#[doc(alias = "...")]` isn't allowed on statement --> /home/runner/work/glacier/glacier/ices/99777-2.rs:2:11 | 2 | #[doc(alias = "test")] | ^^^^^^^^^^^^^^ error: aborting due to 2 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0601`. ============== --- {ices => fixed}/99777-2.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/99777-2.rs (100%) diff --git a/ices/99777-2.rs b/fixed/99777-2.rs similarity index 100% rename from ices/99777-2.rs rename to fixed/99777-2.rs