diff options
| author | Michael Howell <michael@notriddle.com> | 2023-05-08 12:04:27 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-05-25 08:14:33 -0700 |
| commit | 374024336a0dfed4a5cf5e97ccc99648b18cf00c (patch) | |
| tree | f22079823946f601d3fb1025b5c533cc358c8f46 /compiler/rustc_metadata/src | |
| parent | 8488e8aed9eb59e45589974985e7cb377576353c (diff) | |
| download | rust-374024336a0dfed4a5cf5e97ccc99648b18cf00c.tar.gz rust-374024336a0dfed4a5cf5e97ccc99648b18cf00c.zip | |
Improve comments
Diffstat (limited to 'compiler/rustc_metadata/src')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder.rs b/compiler/rustc_metadata/src/rmeta/decoder.rs index 46d469f0703..ccba77d7aa7 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder.rs @@ -111,8 +111,9 @@ pub(crate) struct CrateMetadata { dep_kind: Lock<CrateDepKind>, /// Filesystem location of this crate. source: Lrc<CrateSource>, - /// Whether or not this crate should be consider a private dependency - /// for purposes of the 'exported_private_dependencies' lint + /// Whether or not this crate should be consider a private dependency. + /// Used by the 'exported_private_dependencies' lint, and for determining + /// whether to emit suggestions that reference this crate. private_dep: Lock<bool>, /// The hash for the host proc macro. Used to support `-Z dual-proc-macro`. host_hash: Option<Svh>, |
