pub fn managed_root_note(
managed_root: Option<&str>,
in_effect: bool,
) -> Option<SchemaDiagnostic>Expand description
The field.deprecated note for a file’s managed_root, worded for whether it takes effect
(in_effect): the key counts only while no layer sets targets, and a higher file’s
managed_root replaces a lower one’s. A reader of one file alone (read_consumer, for the
WASM) cannot see the other layers and passes whether the file itself sets targets; the CLI
drops that note (is_managed_root_note) and words its own from the layered result. The key
goes in the minor after 0.37.0, with targets alone left.