Skip to main content

Module helpers

Module helpers 

Source
Expand description

A set of traits that define a stable interface to rustc’s internals.

These traits abstract rustc’s internal APIs, allowing rustc_public to maintain a stable interface regardless of internal compiler changes.

Re-exports§

use rustc_middle::mir::interpret::AllocRange; 🔒
use rustc_middle::ty::Ty; 🔒
use rustc_span::def_id::DefId; 🔒

Traits§

AllocRangeHelpers
TyHelpers