Skip to content

Commit bc1dda4

Browse files
committed
Auto merge of #47095 - leodasvacas:clarify-is-import, r=jseyfried
Clarify where `is_import` is used So it's not mistaken for dead code.
2 parents 1bcc6dc + f6ff377 commit bc1dda4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/librustc/hir/def.rs

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub struct Export {
132132
/// We include non-`pub` exports for hygienic macros that get used from extern crates.
133133
pub vis: ty::Visibility,
134134
/// True if from a `use` or and `extern crate`.
135+
/// Used in rustdoc.
135136
pub is_import: bool,
136137
}
137138

0 commit comments

Comments
 (0)