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

Commit

Permalink
ices/84434.rs: fixed with no errors (#734)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: unused variable: `parent`
  --> /home/runner/work/glacier/glacier/ices/84434.rs:10:28
   |
10 |         } else if let Some(parent) = b.and_then(|p| p.parent()) {
   |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `a`
 --> /home/runner/work/glacier/glacier/ices/84434.rs:7:19
  |
7 |     func: |check, a, b| {
  |                   ^ help: if this is intentional, prefix it with an underscore: `_a`

warning: struct is never constructed: `A`
 --> /home/runner/work/glacier/glacier/ices/84434.rs:3:8
  |
3 | struct A {
  |        ^
  |
  = note: `#[warn(dead_code)]` on by default

warning: constant is never used: `MY_A`
  --> /home/runner/work/glacier/glacier/ices/84434.rs:6:1
   |
6  | / const MY_A: A = A {
7  | |     func: |check, a, b| {
8  | |         if check {
9  | |             let _ = ();
...  |
13 | |     },
14 | | };
   | |__^

warning: 4 warnings emitted

==============

Co-authored-by: rustbot <rustbot@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and rustbot committed Apr 27, 2021
1 parent 7e34812 commit ba30e9f
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit ba30e9f

Please sign in to comment.