mirror of https://github.com/astral-sh/ruff
This is a small little hack to make the `Diagnostic` trait capable of supporting attaching multiple spans. This design should be considered transient. This was just the quickest way that I could see to pass multiple spans through from the type checker to the diagnostic renderer. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||