Module make

Source
Expand description

Logic for transforming the raw code given by the user into something actually runnable, e.g. by adding a main function if it doesn’t already exist.

Structs§

DocTestBuilder 🔒
This struct contains information about the doctest itself which is then used to generate doctest source code appropriately.
ParseSourceInfo 🔒
SourceInfo 🔒

Enums§

AttrKind 🔒
ParsingResult 🔒

Functions§

cancel_error_count 🔒
check_for_main_and_extern_crate 🔒
check_if_attr_is_complete 🔒
Returns Some if the attribute is complete and Some(true) if it is an attribute that can be placed at the crate root.
handle_attr 🔒
parse_source 🔒
partition_source 🔒