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§
- DocTest
Builder πThis struct contains information about the doctest itself which is then used to generate doctest source code appropriately. - Parse
Source πInfo - Source
Info π
Enums§
- Attr
Kind π - Parsing
Result π
Functions§
- cancel_
error_ πcount - Returns
Some
if the attribute is complete andSome(true)
if it is an attribute that can be placed at the crate root. - handle_
attr π - parse_
source π - partition_
source π