diff options
| author | bors <bors@rust-lang.org> | 2018-01-01 10:02:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-01 10:02:45 +0000 |
| commit | bc1dda43ecef0a83ea1d3b92159a8848d2d99b82 (patch) | |
| tree | 517ae8da773164d2c2d71a5ca55bbb9658b9bfb5 | |
| parent | 1bcc6dc7ea430b7d403a57f60e48b3c3cdfcf562 (diff) | |
| parent | f6ff3771e39468bd155f6118d3f64d3a89b6105b (diff) | |
| download | rust-bc1dda43ecef0a83ea1d3b92159a8848d2d99b82.tar.gz rust-bc1dda43ecef0a83ea1d3b92159a8848d2d99b82.zip | |
Auto merge of #47095 - leodasvacas:clarify-is-import, r=jseyfried
Clarify where `is_import` is used So it's not mistaken for dead code.
| -rw-r--r-- | src/librustc/hir/def.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/hir/def.rs b/src/librustc/hir/def.rs index 19a37b693db..57a7e6c9904 100644 --- a/src/librustc/hir/def.rs +++ b/src/librustc/hir/def.rs @@ -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, } |
