mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 15:47:31 +00:00
Remove more unreachable pubs
This commit is contained in:
parent
731b38fa3c
commit
ba8d6d1e4e
39 changed files with 114 additions and 121 deletions
|
@ -278,13 +278,13 @@ impl CargoWorkspace {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct ExternResources {
|
||||
pub(crate) struct ExternResources {
|
||||
out_dirs: FxHashMap<PackageId, AbsPathBuf>,
|
||||
proc_dylib_paths: FxHashMap<PackageId, AbsPathBuf>,
|
||||
cfgs: FxHashMap<PackageId, Vec<CfgFlag>>,
|
||||
}
|
||||
|
||||
pub fn load_extern_resources(
|
||||
pub(crate) fn load_extern_resources(
|
||||
cargo_toml: &Path,
|
||||
cargo_features: &CargoConfig,
|
||||
) -> Result<ExternResources> {
|
||||
|
|
|
@ -17,7 +17,7 @@ pub struct Sysroot {
|
|||
crates: Arena<SysrootCrateData>,
|
||||
}
|
||||
|
||||
pub type SysrootCrate = Idx<SysrootCrateData>;
|
||||
pub(crate) type SysrootCrate = Idx<SysrootCrateData>;
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub struct SysrootCrateData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue