//! Yog Script's compiler: a source checked (`check_source` — read, its
//! names resolved; with the generator, compiled), against the class index
//! of the Minecraft versions it targets (`index`, built from the game's
//! jars, read with `classfile`). It knows sources, not projects: the Yog
//! CLI hands it a mod's, the `yog-script` tool any.
use Diagnostic;
/// What's wrong with the source `text` of the file `name` (`.ys`, `.yns`).