We're using a ruff fork of annotate_snippets to generate code snippets in error messages, due to upstream annotate_snippets always printing a non-customizable header. rust-lang/annotate-snippets-rs#171 (comment) suggests that this has been fixed in annotate_snippets v0.12, so we should try to migrate off ruff's fork if we can.