pub fn parse_and_inline_modules(src_file: &Path) -> FileExpand description
Parse the source code in src_file and return a syn::File that has all modules
recursively inlined.
This is equivalent to using an InlinerBuilder with the default settings.
§Panics
This function will panic if src_file cannot be opened or does not contain valid Rust
source code.
§Error Handling
This function ignores most error cases to return a best-effort result. To be informed of
failures that occur while inlining referenced modules, create an InlinerBuilder instead.