about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-03-11 21:17:23 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-03-11 21:49:32 +0300
commitf4083c6455ad47e0369013dba7eb716eb00223eb (patch)
tree050cebfe7965f2b617ebd53c28147fbd9991c116 /src/test
parent580c6a29d47a9cd786c89df98d97e6de13f49291 (diff)
downloadrust-f4083c6455ad47e0369013dba7eb716eb00223eb.tar.gz
rust-f4083c6455ad47e0369013dba7eb716eb00223eb.zip
Add the "consider importing it directly" label to public imports as well
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/imports/issue-55884-2.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/imports/issue-55884-2.stderr b/src/test/ui/imports/issue-55884-2.stderr
index 3eee7118e5a..490c08446b5 100644
--- a/src/test/ui/imports/issue-55884-2.stderr
+++ b/src/test/ui/imports/issue-55884-2.stderr
@@ -13,12 +13,12 @@ note: ...and refers to the struct import `ParseOptions` which is defined here...
   --> $DIR/issue-55884-2.rs:12:9
    |
 LL | pub use parser::ParseOptions;
-   |         ^^^^^^^^^^^^^^^^^^^^
+   |         ^^^^^^^^^^^^^^^^^^^^ consider importing it directly
 note: ...and refers to the struct import `ParseOptions` which is defined here...
   --> $DIR/issue-55884-2.rs:6:13
    |
 LL |     pub use options::*;
-   |             ^^^^^^^^^^
+   |             ^^^^^^^^^^ consider importing it directly
 note: ...and refers to the struct `ParseOptions` which is defined here
   --> $DIR/issue-55884-2.rs:2:5
    |