Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit eb40310

Browse files
committed
ices/83479.rs: fixed with errors
=== stdout === === stderr === error: bounds on `type`s in this context have no effect --> /home/runner/work/glacier/glacier/ices/83479.rs:1:24 | 1 | type PairCoupledTypes: Trait< | ________________________^ 2 | | [u32; { 3 | | static FOO: usize; 4 | | }], 5 | | > = impl Trait< | |_^ error: free static item without body --> /home/runner/work/glacier/glacier/ices/83479.rs:3:9 | 3 | static FOO: usize; | ^^^^^^^^^^^^^^^^^- | | | help: provide a definition for the static: `= <expr>;` error: free static item without body --> /home/runner/work/glacier/glacier/ices/83479.rs:7:9 | 7 | static FOO: usize; | ^^^^^^^^^^^^^^^^^- | | | help: provide a definition for the static: `= <expr>;` error[E0405]: cannot find trait `Trait` in this scope --> /home/runner/work/glacier/glacier/ices/83479.rs:1:24 | 1 | type PairCoupledTypes: Trait< | ^^^^^ not found in this scope error[E0405]: cannot find trait `Trait` in this scope --> /home/runner/work/glacier/glacier/ices/83479.rs:5:10 | 5 | > = impl Trait< | ^^^^^ not found in this scope error[E0658]: `impl Trait` in type aliases is unstable --> /home/runner/work/glacier/glacier/ices/83479.rs:5:5 | 5 | > = impl Trait< | _____^ 6 | | [u32; { 7 | | static FOO: usize; 8 | | }], 9 | | >; | |_^ | = note: see issue #63063 <rust-lang/rust#63063> for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error[E0601]: `main` function not found in crate `83479` --> /home/runner/work/glacier/glacier/ices/83479.rs:1:1 | 1 | / type PairCoupledTypes: Trait< 2 | | [u32; { 3 | | static FOO: usize; 4 | | }], ... | 8 | | }], 9 | | >; | |__^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83479.rs` error: aborting due to 7 previous errors Some errors have detailed explanations: E0405, E0601, E0658. For more information about an error, try `rustc --explain E0405`. ==============
1 parent ae865e4 commit eb40310

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)