oxeon-diagnostics 0.0.7

Source spans and diagnostics for the Oxeon compiler.
Documentation
# oxeon-diagnostics

Source spans and diagnostics, shared by every stage of the [Oxeon](https://oxeon.dev) compiler.

A `Diagnostic` has a severity, a message, labeled spans, notes, and optional fixes (text edits that editors offer as quick fixes). `Diagnostic::render` prints it with the source lines it points at, in the style of rustc:

```text
error: mismatched types: expected `u32`, found `{float}`
 --> mod.ox:3:18
  |
3 |     let x: u32 = 1.5;
  |                  ^^^
```

`Diagnostic::render_plain` gives a one-line summary instead.

This is an internal crate of the Oxeon compiler, and its API changes between releases without notice. Games should depend on [`oxeon`](https://crates.io/crates/oxeon) instead.

Part of [Oxeon](https://oxeon.dev), a Rust-like language for modding Bevy games. Licensed under MIT or Apache-2.0, at your option.