diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/liveness/liveness-unused.stderr | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/liveness/liveness-unused.stderr')
-rw-r--r-- | src/test/ui/liveness/liveness-unused.stderr | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/src/test/ui/liveness/liveness-unused.stderr b/src/test/ui/liveness/liveness-unused.stderr deleted file mode 100644 index f6c478ddb..000000000 --- a/src/test/ui/liveness/liveness-unused.stderr +++ /dev/null @@ -1,116 +0,0 @@ -warning: unreachable statement - --> $DIR/liveness-unused.rs:92:9 - | -LL | continue; - | -------- any code following this expression is unreachable -LL | drop(*x as i32); - | ^^^^^^^^^^^^^^^^ unreachable statement - | -note: the lint level is defined here - --> $DIR/liveness-unused.rs:1:9 - | -LL | #![warn(unused)] - | ^^^^^^ - = note: `#[warn(unreachable_code)]` implied by `#[warn(unused)]` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:8:7 - | -LL | fn f1(x: isize) { - | ^ help: if this is intentional, prefix it with an underscore: `_x` - | -note: the lint level is defined here - --> $DIR/liveness-unused.rs:2:9 - | -LL | #![deny(unused_variables)] - | ^^^^^^^^^^^^^^^^ - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:12:8 - | -LL | fn f1b(x: &mut isize) { - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:20:9 - | -LL | let x: isize; - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:25:9 - | -LL | let x = 3; - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: variable `x` is assigned to, but never used - --> $DIR/liveness-unused.rs:30:13 - | -LL | let mut x = 3; - | ^ - | - = note: consider using `_x` instead - -error: value assigned to `x` is never read - --> $DIR/liveness-unused.rs:32:5 - | -LL | x += 4; - | ^ - | - = help: maybe it is overwritten before being read? -note: the lint level is defined here - --> $DIR/liveness-unused.rs:3:9 - | -LL | #![deny(unused_assignments)] - | ^^^^^^^^^^^^^^^^^^ - -error: variable `z` is assigned to, but never used - --> $DIR/liveness-unused.rs:37:13 - | -LL | let mut z = 3; - | ^ - | - = note: consider using `_z` instead - -error: unused variable: `i` - --> $DIR/liveness-unused.rs:59:12 - | -LL | Some(i) => { - | ^ help: if this is intentional, prefix it with an underscore: `_i` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:79:9 - | -LL | for x in 1..10 { } - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:84:10 - | -LL | for (x, _) in [1, 2, 3].iter().enumerate() { } - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: unused variable: `x` - --> $DIR/liveness-unused.rs:89:13 - | -LL | for (_, x) in [1, 2, 3].iter().enumerate() { - | ^ help: if this is intentional, prefix it with an underscore: `_x` - -error: variable `x` is assigned to, but never used - --> $DIR/liveness-unused.rs:112:9 - | -LL | let x; - | ^ - | - = note: consider using `_x` instead - -error: value assigned to `x` is never read - --> $DIR/liveness-unused.rs:116:9 - | -LL | x = 0; - | ^ - | - = help: maybe it is overwritten before being read? - -error: aborting due to 13 previous errors; 1 warning emitted - |