Files
rust/compiler/rustc_metadata/src
Nicholas Nethercote 530a73f17e Prevent invalid LevelSpec values
`LevelSpec` has two related fields, `level` and `lint_id`. This commit
makes the fields private (and introduces getters) to ensure they are set
together using only valid combinations.

The commit also introduces `is_allow` and `is_expect` methods because
those are useful.
2026-05-14 16:28:50 +10:00
..
2026-05-14 16:28:50 +10:00
2026-02-20 09:50:16 +01:00
2026-04-16 07:42:17 +10:00
2025-07-13 13:50:00 +00:00
2026-03-07 10:42:02 -08:00
2026-04-20 00:18:28 +08:00