Skip to main content

parse_str_reporting

Function parse_str_reporting 

Source
pub fn parse_str_reporting(
    text: &str,
    origin: &str,
) -> Result<(LoopConfig, Vec<Moved>), CoreError>
Expand description

parse_str, additionally reporting which 0.3 keys were relocated.

The list is empty for a file already in the 1.0 shape. Callers that have somewhere to put a deprecation notice — the CLI, the wizard, migrate — use this; everything else uses parse_str.