Module rustc_trans_utils::symbol_names_test[][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?

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.

Re-exports

use rustc::hir;
use rustc::ty::TyCtxt;
use syntax::ast;
use rustc_mir::monomorphize::Instance;

Structs

SymbolNamesTest [
Experimental
]

Constants

ITEM_PATH [
Experimental
]
SYMBOL_NAME [
Experimental
]

Functions

report_symbol_names [
Experimental
]