#[non_exhaustive]pub enum RuntimeWarning {
UninitializedTemp {
slot: u16,
name: String,
},
}Expand description
A non-fatal condition the VM reported while a story was running (issue #3354, RULED 2026-09-01 option C).
Warnings never interrupt play — that is the point of the ruling: what
plays in Inky plays in brink. They accumulate on the flow that produced
them and are drained by the host
(crate::Story::take_runtime_warnings,
crate::FlowInstance::take_runtime_warnings), which decides whether to
print them (the CLI player does), surface them in a panel (the studio
does), or ignore them (a shipped game).
Accumulation is capped at RUNTIME_WARNING_CAP per flow between
drains: a loop that reads an unset temp on every iteration would
otherwise grow this list without bound.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UninitializedTemp
A ~ temp slot was read before its declaring statement ran, so the
read produced ink’s missing-variable default instead of faulting on
the next operator.
The compile-time half of the same story is
brink_ir::DiagnosticCode::E193, which names the read and the
declaration in the editor before the author plays. Message text
mirrors the C# reference’s own wording, since matching what an
author already recognizes from Inky is the point.
Trait Implementations§
Source§impl Clone for RuntimeWarning
impl Clone for RuntimeWarning
Source§fn clone(&self) -> RuntimeWarning
fn clone(&self) -> RuntimeWarning
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeWarning
impl Debug for RuntimeWarning
Source§impl Display for RuntimeWarning
impl Display for RuntimeWarning
impl Eq for RuntimeWarning
Source§impl Error for RuntimeWarning
impl Error for RuntimeWarning
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()