Skip to main content

luaur_analysis/records/
cannot_call_non_function.rs

1use crate::type_aliases::type_id::TypeId;
2
3#[allow(non_camel_case_types)]
4#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
5pub struct CannotCallNonFunction {
6    pub(crate) ty: TypeId,
7}
8
9impl CannotCallNonFunction {
10    pub fn ty(&self) -> TypeId {
11        self.ty
12    }
13}