Registry / other / rustc-ap-rustc-span

rustc-ap-rustc-span

JSON →
library727.0.0rscratesunverified

Automatically published version of the rustc_span crate from the Rust compiler repository.

# Cargo.toml [dependencies] rustc-ap-rustc_span = "727.0.0"
INSTALL
IMPORT
SIG · RUSTC-AP-RUSTC-SPA
R
rustc-ap-rustc-span
otherrustv727.0.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.

Span
use rustc_span::Span;

Creates a default Span for source code locations.

use rustc_span::Span; fn main() { let span = Span::default(); println!("Span: {:?}", span); }
Debug
Known issues
breakingInternal compiler crate; API may change without notice
fix
Pin to a specific version and expect breaking changes with each Rust release.
affects: >=727.0.0
Upgrade
Version history
727.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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