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

Commit

Permalink
ices/75883.rs: fixed with errors (#671)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied
   --> /home/runner/work/glacier/glacier/ices/75883.rs:4:21
    |
4   |     pub fn run() -> Result<_> {
    |                     ^^^^^^ - supplied 1 type argument
    |                     |
    |                     expected 2 type arguments
    |
note: enum defined here, with 2 type parameters: `T`, `E`
help: add missing type argument
    |
4   |     pub fn run() -> Result<_, E> {
    |                             ^^^

error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied
   --> /home/runner/work/glacier/glacier/ices/75883.rs:11:35
    |
11  |     pub fn interact(&mut self) -> Result<_> {
    |                                   ^^^^^^ - supplied 1 type argument
    |                                   |
    |                                   expected 2 type arguments
    |
note: enum defined here, with 2 type parameters: `T`, `E`
help: add missing type argument
    |
11  |     pub fn interact(&mut self) -> Result<_, E> {
    |                                           ^^^

error[E0121]: the type placeholder `_` is not allowed within types on item signatures
  --> /home/runner/work/glacier/glacier/ices/75883.rs:11:42
   |
11 |     pub fn interact(&mut self) -> Result<_> {
   |                                          ^ not allowed in type signatures

error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/75883.rs:4:28
  |
4 |     pub fn run() -> Result<_> {
  |                            ^ not allowed in type signatures

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0107, E0121.
For more information about an error, try `rustc --explain E0107`.
==============

Co-authored-by: rustbot <rustbot@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and rustbot authored Feb 28, 2021
1 parent 4c94653 commit 85235fd
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 85235fd

Please sign in to comment.