Fixed a tricky type erasure bug in the scheduler

This commit is contained in:
2023-10-12 14:36:59 +01:00
parent af3e9f67fa
commit cb395da894
32 changed files with 147 additions and 125 deletions

View File

@@ -183,7 +183,9 @@ impl ProjectError for NaNLiteral {
pub struct LiteralOverflow(pub Location);
impl ProjectError for LiteralOverflow {
fn description(&self) -> &str { "number literal described number greater than usize::MAX" }
fn description(&self) -> &str {
"number literal described number greater than usize::MAX"
}
fn one_position(&self) -> Location { self.0.clone() }
}