about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/lint/dead-code/offset-of.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/lint/dead-code/offset-of.stderr b/tests/ui/lint/dead-code/offset-of.stderr
index afc4c590eeb..ed2916461cd 100644
--- a/tests/ui/lint/dead-code/offset-of.stderr
+++ b/tests/ui/lint/dead-code/offset-of.stderr
@@ -1,5 +1,5 @@
 error: field `b` is never read
-  --> $DIR/liveness-offset-of.rs:8:5
+  --> $DIR/offset-of.rs:8:5
    |
 LL | struct Alpha {
    |        ----- field in this struct
@@ -8,13 +8,13 @@ LL |     b: (),
    |     ^
    |
 note: the lint level is defined here
-  --> $DIR/liveness-offset-of.rs:2:9
+  --> $DIR/offset-of.rs:2:9
    |
 LL | #![deny(dead_code)]
    |         ^^^^^^^^^
 
 error: field `a` is never read
-  --> $DIR/liveness-offset-of.rs:13:5
+  --> $DIR/offset-of.rs:13:5
    |
 LL | struct Beta {
    |        ---- field in this struct
@@ -22,7 +22,7 @@ LL |     a: (),
    |     ^
 
 error: field `a` is never read
-  --> $DIR/liveness-offset-of.rs:18:5
+  --> $DIR/offset-of.rs:18:5
    |
 LL | struct Gamma {
    |        ----- field in this struct
@@ -30,7 +30,7 @@ LL |     a: (),
    |     ^
 
 error: field `b` is never read
-  --> $DIR/liveness-offset-of.rs:24:5
+  --> $DIR/offset-of.rs:24:5
    |
 LL | struct Delta {
    |        ----- field in this struct
@@ -39,7 +39,7 @@ LL |     b: (),
    |     ^
 
 error: field `a` is never read
-  --> $DIR/liveness-offset-of.rs:35:5
+  --> $DIR/offset-of.rs:35:5
    |
 LL | struct Project<T: Trait> {
    |        ------- field in this struct