mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
internal: Remove FileId::BOGUS
This commit is contained in:
parent
72dfbe95de
commit
8ebabce475
8 changed files with 41 additions and 71 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue