This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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<N>> {} | +++ 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`. ==============
- Loading branch information