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

Commit

Permalink
ices/83309.rs: fixed with errors (#736)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0594]: cannot assign to `*v` which is behind a `&` reference
 --> /home/runner/work/glacier/glacier/ices/83309.rs:3:9
  |
2 |     for v in Query.iter_mut() {
  |              ---------------- this iterator yields `&` references
3 |         *v -= 1;
  |         ^^^^^^^ `v` is a `&` reference, so the data it refers to cannot be written

error: aborting due to previous error

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

Co-authored-by: rustbot <[email protected]>
  • Loading branch information
github-actions[bot] and rustbot authored Apr 29, 2021
1 parent 1e40253 commit bb73012
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit bb73012

Please sign in to comment.