internal: Remove FileId::BOGUS

This commit is contained in:
Lukas Wirth 2024-06-12 08:15:58 +02:00
parent 72dfbe95de
commit 8ebabce475
8 changed files with 41 additions and 71 deletions

View file

@ -69,9 +69,6 @@ pub struct FileId(u32);
// pub struct FileId(NonMaxU32);
impl FileId {
/// Think twice about using this outside of tests. If this ends up in a wrong place it will cause panics!
// FIXME: To be removed once we get rid of all `SpanData::DUMMY` usages.
pub const BOGUS: FileId = FileId(0xe4e4e);
pub const MAX_FILE_ID: u32 = 0x7fff_ffff;
#[inline]