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

ices/93871.sh: fixed with no errors #1143

Merged
merged 1 commit into from
Feb 20, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#93871

rustc -Cdebuginfo=2  - 2>&1 << EOF

#![feature(unsized_tuple_coercion)]
fn main() {
    let x : &(i32, i32, [i32]) = &(0, 1, [2, 3]);
}

EOF
=== stdout ===
warning: unused variable: `x`
 --> <anon>:4:9
  |
4 |     let x : &(i32, i32, [i32]) = &(0, 1, [2, 3]);
  |         ^ help: if this is intentional, prefix it with an underscore: `_x`
  |
  = note: `#[warn(unused_variables)]` on by default

warning: 1 warning emitted

=== stderr ===
==============

=== stdout ===
warning: unused variable: `x`
 --> <anon>:4:9
  |
4 |     let x : &(i32, i32, [i32]) = &(0, 1, [2, 3]);
  |         ^ help: if this is intentional, prefix it with an underscore: `_x`
  |
  = note: `#[warn(unused_variables)]` on by default

warning: 1 warning emitted

=== stderr ===
==============
@Alexendoo Alexendoo merged commit b3878aa into master Feb 20, 2022
@Alexendoo Alexendoo deleted the autofix/ices/93871.sh branch February 20, 2022 12:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants