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

Commit

Permalink
ices/90871-2.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0412]: cannot find type `n` in this scope
 --> /home/runner/work/glacier/glacier/ices/90871-2.rs:2:8
  |
2 |     2: n([u8; 3:fn()])
  |        ^ expecting a type here because of type ascription

error[E0308]: mismatched types
 --> /home/runner/work/glacier/glacier/ices/90871-2.rs:2:15
  |
2 |     2: n([u8; 3:fn()])
  |               ^ expected fn pointer, found `usize`
  |
  = note: expected fn pointer `fn()`
                   found type `usize`

error[E0308]: mismatched types
 --> /home/runner/work/glacier/glacier/ices/90871-2.rs:2:15
  |
2 |     2: n([u8; 3:fn()])
  |               ^^^^^^ expected `usize`, found fn pointer
  |
  = note:    expected type `usize`
          found fn pointer `fn()`

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0308, E0412.
For more information about an error, try `rustc --explain E0308`.
==============
  • Loading branch information
rustbot committed Jul 28, 2022
1 parent 3db4cee commit 01a86a7
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 01a86a7

Please sign in to comment.