For the complete documentation index, see llms.txt.
aztec-nr - std::meta

Module meta

Modules

  • Contains methods on the built-in Type type used for representing a type in the source program.

Type aliases

Functions

  • Issues an error diagnostic at the given location with the given primary message and an optional secondary message. Unlike a comptime panic, current execution will continue allowing possibly multiple errors to be issued.
  • make_impl is a helper function to make a simple impl, usually while deriving a trait. This impl has a couple assumptions:

    1. The impl only has one function, with the signature function_signature
    2. The trait itself does not have any generics.
  • Returns the type of any value
  • Calling unquote as a macro (via unquote!(arg)) will unquote its argument. Since this is the effect ! already does, unquote itself does not need to do anything besides return its argument.
  • Issues a warning diagnostic at the given location with the given primary message and an optional secondary message. Execution continues after this function is called.