Skip to main content

check_path_name_alignment

Function check_path_name_alignment 

Source
pub fn check_path_name_alignment(
    parsed: &[ParsedFile],
) -> Result<(), Vec<(PathBuf, CompileError)>>
Expand description

Each file’s relative path must match its declared qualified name. Two arrangements are valid:

  • Single-file: a/b/c.bynk declaring a.b.c.
  • Multi-file: a/b/c/<any>.bynk declaring a.b.c.