diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-10-27 20:21:34 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-10-28 02:56:12 +0300 |
| commit | acdbd0643cc3d7bd74826c0f13746c81c08d6cc1 (patch) | |
| tree | 49e4120c06a947507c142bec256d59a84c9c8b71 /src/test/ui/static | |
| parent | b45b4daba75eb6d48ebd86ac56c5ff29c3637a12 (diff) | |
| download | rust-acdbd0643cc3d7bd74826c0f13746c81c08d6cc1.tar.gz rust-acdbd0643cc3d7bd74826c0f13746c81c08d6cc1.zip | |
resolve: More precise spans for privacy errors
Diffstat (limited to 'src/test/ui/static')
| -rw-r--r-- | src/test/ui/static/static-priv-by-default2.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/static/static-priv-by-default2.stderr b/src/test/ui/static/static-priv-by-default2.stderr index 0f749b0e4f3..2631e99a9b7 100644 --- a/src/test/ui/static/static-priv-by-default2.stderr +++ b/src/test/ui/static/static-priv-by-default2.stderr @@ -1,14 +1,14 @@ error[E0603]: static `private` is private - --> $DIR/static-priv-by-default2.rs:25:9 + --> $DIR/static-priv-by-default2.rs:25:30 | LL | use child::childs_child::private; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^ error[E0603]: static `private` is private - --> $DIR/static-priv-by-default2.rs:33:9 + --> $DIR/static-priv-by-default2.rs:33:33 | LL | use static_priv_by_default::private; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^ error: aborting due to 2 previous errors |
