Clarify where `is_import` is used.

So it's not mistaken for dead code.
This commit is contained in:
leonardo.yvens 2017-12-31 17:25:56 -02:00
parent 35681fbc76
commit f6ff3771e3
1 changed files with 1 additions and 0 deletions

View File

@ -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,
}