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 πŸ”’