-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use fully qualified names in macros for items exported from std prelude #2621
Changes from 2 commits
5676719
64fe341
7eafb37
1f5426a
14f9ed6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -475,7 +475,7 @@ macro_rules! filter_impl_body { | |
} | ||
|
||
#[inline] | ||
fn max_level_hint(&self) -> Option<LevelFilter> { | ||
fn max_level_hint(&self) -> ::core::option::Option<LevelFilter> { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this macro is only used internally; it's not publicly re-exported. i think it would be fine to continue using the prelude, or add a module-level import here? |
||
self.deref().max_level_hint() | ||
} | ||
}; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1723,13 +1723,13 @@ macro_rules! subscriber_impl_body { | |
} | ||
|
||
#[inline] | ||
fn max_level_hint(&self) -> Option<LevelFilter> { | ||
fn max_level_hint(&self) -> ::core::option::Option<LevelFilter> { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this macro is only used internally; it's not publicly re-exported. i think it would be fine to continue using the prelude, or add a module-level import here? |
||
self.deref().max_level_hint() | ||
} | ||
|
||
#[doc(hidden)] | ||
#[inline] | ||
unsafe fn downcast_raw(&self, id: TypeId) -> Option<NonNull<()>> { | ||
unsafe fn downcast_raw(&self, id: TypeId) -> ::core::option::Option<NonNull<()>> { | ||
self.deref().downcast_raw(id) | ||
} | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this macro is only used internally; it's not publicly re-exported. i think it would be fine to continue using the prelude, or add a module-level import here?