fn error_at(&self, location: Location, kind: ErrorKind) -> Error {
      Error::Compile {
         module_name: Rc::clone(&self.module_name),
         kind,
         location,
      }
   }
/// Emits an error at a specific location.
Emits an error at a specific location.
Emits an error at a specific location .
fn error_at(&self, location: Location, kind: ErrorKind) -> Error {
      Error::Compile {
         module_name: Rc::clone(&self.module_name),
         kind,
         location,
      }
   }
fn error_at ( & self , location : Location , kind : ErrorKind ) -> Error { Error :: Compile { module_name : Rc :: clone ( & self . module_name ) , kind , location , } }
Emits an error at a specific location.
Emits an error at a specific location .
&self
location
Location
kind
ErrorKind