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

Commit

Permalink
ices/80371.rs: fixed with errors (#629)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: unused variable: `headers`
 --> /home/runner/work/glacier/glacier/ices/80371.rs:6:9
  |
6 |     let headers = [Header{value: &[]}; 128];
  |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
  |
  = note: `#[warn(unused_variables)]` on by default

error[E0277]: the trait bound `Header<'_>: Copy` is not satisfied
 --> /home/runner/work/glacier/glacier/ices/80371.rs:6:19
  |
6 |     let headers = [Header{value: &[]}; 128];
  |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Header<'_>`
  |
  = note: the `Copy` trait is required because the repeated element will be copied

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0277`.
==============

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

0 comments on commit 0660811

Please sign in to comment.