This commit is contained in:
Aleksey Kladov 2019-03-26 14:54:05 +03:00
parent 0b820cacab
commit f6f2d69bb8
3 changed files with 6 additions and 8 deletions

View file

@ -8,7 +8,7 @@ use crate::{HirFileId, DefDatabase};
/// Identifier of item within a specific file. This is stable over reparses, so
/// it's OK to use it as a salsa key/value.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct SourceFileItemId(RawId);
pub(crate) struct SourceFileItemId(RawId);
impl_arena_id!(SourceFileItemId);
impl SourceFileItemId {