mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
internal: Lay basic ground work for standalone mbe tests
This commit is contained in:
parent
1e30cc0f35
commit
4502a602a7
15 changed files with 233 additions and 52 deletions
|
@ -67,7 +67,7 @@ pub struct FileId(u32);
|
|||
// pub struct FileId(NonMaxU32);
|
||||
|
||||
impl FileId {
|
||||
pub const MAX: u32 = 0x7fff_ffff;
|
||||
const MAX: u32 = 0x7fff_ffff;
|
||||
|
||||
#[inline]
|
||||
pub const fn from_raw(raw: u32) -> FileId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue