Skip to main content

Module test

Module test 

Source
Expand description

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

Functionsยง

dump_symbol_names_and_def_paths