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§
Functions§
- cancel_
error_ 🔒count - check_
for_ 🔒main_ and_ extern_ crate - check_
if_ 🔒attr_ is_ complete - 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 🔒