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

ices/75883.rs: fixed with errors #671

Merged
merged 1 commit into from
Feb 28, 2021
Merged

ices/75883.rs: fixed with errors #671

merged 1 commit into from
Feb 28, 2021

Commits on Feb 28, 2021

  1. ices/75883.rs: fixed with errors

    === 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`.
    ==============
    rustbot committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    cf8970d View commit details
    Browse the repository at this point in the history