This repository was archived by the owner on May 23, 2024. It is now read-only.
Commit 2b25bf6
committed
ices/82952.rs: fixed with errors
=== stdout ===
=== stderr ===
error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
--> /home/runner/work/glacier/glacier/ices/82952.rs:2:24
|
2 | type BlahResult<I, E = impl ExampleTrait<I>> = Result<I, E>;
| ^^^^^^^^^^^^^^^^^^^^
error[E0601]: `main` function not found in crate `82952`
--> /home/runner/work/glacier/glacier/ices/82952.rs:1:1
|
1 | / trait ExampleTrait<I> {}
2 | | type BlahResult<I, E = impl ExampleTrait<I>> = Result<I, E>;
3 | |
4 | | fn example<'a, T>() -> BlahResult<()> {}
| |________________________________________^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/82952.rs`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0562, E0601.
For more information about an error, try `rustc --explain E0562`.
==============1 parent c158cbe commit 2b25bf6
1 file changed
File renamed without changes.
0 commit comments