summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/fields.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/hygiene/fields.stderr')
-rw-r--r--tests/ui/hygiene/fields.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/hygiene/fields.stderr b/tests/ui/hygiene/fields.stderr
index 978120b1f..99252c4b7 100644
--- a/tests/ui/hygiene/fields.stderr
+++ b/tests/ui/hygiene/fields.stderr
@@ -1,5 +1,5 @@
error: type `foo::S` is private
- --> $DIR/fields.rs:15:17
+ --> $DIR/fields.rs:13:17
|
LL | let s = S { x: 0 };
| ^^^^^^^^^^ private type
@@ -10,7 +10,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `foo::S` is private
- --> $DIR/fields.rs:16:17
+ --> $DIR/fields.rs:14:17
|
LL | let _ = s.x;
| ^ private type
@@ -21,7 +21,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `T` is private
- --> $DIR/fields.rs:18:17
+ --> $DIR/fields.rs:16:17
|
LL | let t = T(0);
| ^^^^ private type
@@ -32,7 +32,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `T` is private
- --> $DIR/fields.rs:19:17
+ --> $DIR/fields.rs:17:17
|
LL | let _ = t.0;
| ^ private type