Registry / build-tool / rustc-ap-rustc-ast-pretty

rustc-ap-rustc-ast-pretty

JSON →
library727.0.0rscratesunverified

Automatically published version of rustc_ast_pretty for pretty-printing Rust AST.

# Cargo.toml [dependencies] rustc-ap-rustc_ast_pretty = "727.0.0"
INSTALL
IMPORT
SIG · RUSTC-AP-RUSTC-AST
R
rustc-ap-rustc-ast-pretty
build-toolrustv727.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.

print_tt
use rustc_ast_pretty::pprust::print_tt;

Minimal usage showing the pretty printer module.

use rustc_ast_pretty::pprust::print_tt; fn main() { // Requires a token tree; example placeholder. println!("Pretty printer available"); }
Debug
Known issues
breakingTied to specific compiler internals; may break across Rust versions.
fix
Pin to exact version matching your Rust toolchain.
affects: >=727.0.0
Upgrade
Version history
727.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
rustc-ap-rustc-ast-pretty — cargo add rustc-ap-rustc-ast-pretty · libregistry