File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -987,7 +987,7 @@ impl<'a> Resolver<'a> {
987
987
) ;
988
988
let def_span = self . session . source_map ( ) . def_span ( binding. span ) ;
989
989
let mut note_span = MultiSpan :: from_span ( def_span) ;
990
- if !first && next_binding . is_none ( ) && binding. vis == ty:: Visibility :: Public {
990
+ if !first && binding. vis == ty:: Visibility :: Public {
991
991
note_span. push_span_label ( def_span, "consider importing it directly" . into ( ) ) ;
992
992
}
993
993
err. span_note ( note_span, & msg) ;
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ note: ...and refers to the struct import `ParseOptions` which is defined here...
13
13
--> $DIR/issue-55884-2.rs:12:9
14
14
|
15
15
LL | pub use parser::ParseOptions;
16
- | ^^^^^^^^^^^^^^^^^^^^
16
+ | ^^^^^^^^^^^^^^^^^^^^ consider importing it directly
17
17
note: ...and refers to the struct import `ParseOptions` which is defined here...
18
18
--> $DIR/issue-55884-2.rs:6:13
19
19
|
20
20
LL | pub use options::*;
21
- | ^^^^^^^^^^
21
+ | ^^^^^^^^^^ consider importing it directly
22
22
note: ...and refers to the struct `ParseOptions` which is defined here
23
23
--> $DIR/issue-55884-2.rs:2:5
24
24
|
You can’t perform that action at this time.
0 commit comments