mirror of https://github.com/astral-sh/ruff
This does a deeper removal of the `lint:` prefix by removing the `DiagnosticId::as_str` method and replacing it with `as_concise_str`. We remove the associated error type and simplify the `Display` impl for `DiagnosticId` as well. This turned out to catch a `lint:` that was still in the diagnostic output: the part that says why a lint is enabled. |
||
|---|---|---|
| .. | ||
| diagnostic | ||
| files | ||
| system | ||
| vendored | ||
| display.rs | ||
| file_revision.rs | ||
| files.rs | ||
| lib.rs | ||
| panic.rs | ||
| parsed.rs | ||
| source.rs | ||
| system.rs | ||
| testing.rs | ||
| vendored.rs | ||