Clarify where `is_import` is used.
So it's not mistaken for dead code.
This commit is contained in:
parent
35681fbc76
commit
f6ff3771e3
|
@ -132,6 +132,7 @@ pub struct Export {
|
|||
/// We include non-`pub` exports for hygienic macros that get used from extern crates.
|
||||
pub vis: ty::Visibility,
|
||||
/// True if from a `use` or and `extern crate`.
|
||||
/// Used in rustdoc.
|
||||
pub is_import: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue