From 1e686e22ab98941bd14427b2658a6f6b2c17c629 Mon Sep 17 00:00:00 2001 From: rustbot Date: Thu, 10 Aug 2023 03:07:37 +0000 Subject: [PATCH] ices/113462.rs: fixed with errors === stdout === === stderr === error[E0106]: missing lifetime specifier --> /home/runner/work/glacier/glacier/ices/113462.rs:2:32 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^ expected named lifetime parameter error[E0601]: `main` function not found in crate `113462` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:46 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/113462.rs` error[E0107]: missing generics for struct `NonGeneric` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:32 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^ expected 1 generic argument | note: struct defined here, with 1 generic parameter: `N` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:8 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^ ------------------- help: add missing generic argument | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | +++ error[E0391]: cycle detected when computing type of `NonGeneric::N` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:32 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^ | = note: ...which immediately requires computing type of `NonGeneric::N` again note: cycle used when computing type of `NonGeneric` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:1 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information error[E0391]: cycle detected when computing type of `NonGeneric` --> /home/runner/work/glacier/glacier/ices/113462.rs:2:1 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: ...which requires computing type of `NonGeneric::N`... --> /home/runner/work/glacier/glacier/ices/113462.rs:2:32 | 2 | struct NonGeneric<'a, const N: NonGeneric> {} | ^^^^^^^^^^ = note: ...which again requires computing type of `NonGeneric`, completing the cycle note: cycle used when collecting item types in top-level module --> /home/runner/work/glacier/glacier/ices/113462.rs:1:1 | 1 | / #[derive(Default)] 2 | | struct NonGeneric<'a, const N: NonGeneric> {} | |_____________________________________________^ = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information error: aborting due to 5 previous errors Some errors have detailed explanations: E0106, E0107, E0391, E0601. For more information about an error, try `rustc --explain E0106`. ============== --- {ices => fixed}/113462.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/113462.rs (100%) diff --git a/ices/113462.rs b/fixed/113462.rs similarity index 100% rename from ices/113462.rs rename to fixed/113462.rs