Registry / utility / ra-ap-rustc-index

ra-ap-rustc-index

JSON →
library0.161.0rscratesunverified

Automatically published version of rustc_index from the rust-lang/rust repository, providing indexed collections for compiler internals.

# Cargo.toml [dependencies] ra-ap-rustc_index = "0.161.0"
INSTALL
IMPORT
SIG · RA-AP-RUSTC-INDEX
R
ra-ap-rustc-index
utilityrustv0.161.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IndexVec
use rustc_index::IndexVec;

Create and use an IndexVec, a vec indexed by a newtype index.

use rustc_index::IndexVec; fn main() { let mut vec: IndexVec<u32, String> = IndexVec::new(); vec.push("hello".to_string()); println!("{:?}", vec); }
Debug
Known issues
breakingThis crate is auto-published from the rustc repository and may have unstable APIs or frequent breaking changes.
fix
Pin to a specific version and check the rustc changelog for updates.
affects: >=0.0.0
Upgrade
Version history
0.161.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ra-ap-rustc-index — cargo add ra-ap-rustc-index · libregistry