ruff/crates/ruff_db
Micha Reiser 6e11086c98
Support lint:<rule> in mdtests (#14914)
## Summary

Fixes a small scoping issue in `DiagnosticId::matches`

Note: I don't think we should use `lint:id` in mdtests just yet. I worry
that it could lead to many unnecessary churns if we decide **not** to
use `lint:<id>` as the format (e.g., `lint/id`).

The reason why users even see `lint:<rule>` is because the mdtest
framework uses the diagnostic infrastructure

Closes #14910

## Test Plan

Added tests
2024-12-11 14:37:12 +01:00
..
src Support lint:<rule> in mdtests (#14914) 2024-12-11 14:37:12 +01:00
Cargo.toml Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00