Skip to main content

needs_project_error

Function needs_project_error 

Source
pub fn needs_project_error(e: &EmbedDecl) -> CompileError
Expand description

bynk.embed.needs_project for e: a single-file build emits one module and has no project root to find embeds/ under, so it cannot read the file. Checking a single file is unaffected; building one that declares an embed is refused. Build the project instead.