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

Commit

Permalink
ices/92626.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: unreachable call
  --> /home/runner/work/glacier/glacier/ices/92626.rs:12:19
   |
12 |     let mut out = Test(todo!());
   |                   ^^^^ ------- any code following this expression is unreachable
   |                   |
   |                   unreachable call
   |
   = note: `#[warn(unreachable_code)]` on by default

error[E0282]: type annotations needed for `Test<T, {_: usize}>`
  --> /home/runner/work/glacier/glacier/ices/92626.rs:12:19
   |
12 |     let mut out = Test(todo!());
   |         -------   ^^^^ cannot infer type for type parameter `T` declared on the struct `Test`
   |         |
   |         consider giving `out` the explicit type `Test<T, N>`, where the type parameter `T` is specified

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0282`.
==============
  • Loading branch information
rustbot committed Jan 19, 2022
1 parent 3753795 commit e58e103
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit e58e103

Please sign in to comment.