Crate rustc_trans_utils [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Note

This API is completely unstable and subject to change.

Re-exports

pub extern crate rustc as __rustc;

Modules

link [
Experimental
]
symbol_names [
Experimental
]

The Rust Linkage Model and Symbol Names

symbol_names_test [
Experimental
]

Walks the crate looking for items/impl-items/trait-items that have either a rustc_symbol_name or rustc_item_path attribute and generates an error giving, respectively, the symbol name or item-path. This is used for unit testing the code that generates paths etc in all kinds of annoying scenarios.

trans_crate [
Experimental
]

The Rust compiler.

Constants

DIAGNOSTICS [
Experimental
]

Functions

check_for_rustc_errors_attr [
Experimental
]

check for the #[rustc_error] annotation, which forces an error in trans. This is used to write compile-fail tests that actually test that compilation succeeds without reporting an error.