mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Some final touches
This commit is contained in:
parent
81410ab500
commit
18f1a3c3c6
10 changed files with 86 additions and 67 deletions
|
@ -63,7 +63,7 @@ pub use paths::{AbsPath, AbsPathBuf};
|
|||
pub struct FileId(pub u32);
|
||||
|
||||
impl FileId {
|
||||
/// Think twice about using this. If this ends up in a wrong place it will cause panics!
|
||||
/// Think twice about using this outside of tests. If this ends up in a wrong place it will cause panics!
|
||||
pub const BOGUS: FileId = FileId(u32::MAX);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue