diff options
author | Daniel McNab <[email protected]> | 2021-03-07 12:24:20 +0000 |
---|---|---|
committer | Daniel McNab <[email protected]> | 2021-03-07 12:24:20 +0000 |
commit | 9246df669ae67556b66119c8a6e3416c9534ca45 (patch) | |
tree | cdc4cdbf90dd73c4887a17231503b2663e4d66d9 /crates/project_model/src/cargo_workspace.rs | |
parent | 71a254c1a1b8836db09dfd18a781c1a4215366fc (diff) |
Require opt in to rustc_private
This gives the advantage that
A future extension would be to check for `feature(rustc_private)` instead
Diffstat (limited to 'crates/project_model/src/cargo_workspace.rs')
-rw-r--r-- | crates/project_model/src/cargo_workspace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs index beda2f61f..bc6e20341 100644 --- a/crates/project_model/src/cargo_workspace.rs +++ b/crates/project_model/src/cargo_workspace.rs | |||
@@ -112,7 +112,7 @@ pub struct PackageData { | |||
112 | 112 | ||
113 | #[derive(Deserialize, Default, Debug, Clone, Eq, PartialEq)] | 113 | #[derive(Deserialize, Default, Debug, Clone, Eq, PartialEq)] |
114 | pub struct RustAnalyzerPackageMetaData { | 114 | pub struct RustAnalyzerPackageMetaData { |
115 | pub rustc_private: Option<bool>, | 115 | pub rustc_private: bool, |
116 | } | 116 | } |
117 | 117 | ||
118 | #[derive(Debug, Clone, Eq, PartialEq)] | 118 | #[derive(Debug, Clone, Eq, PartialEq)] |