structstd.zig.ErrorBundle.ReferenceTrace[src]

Fields

decl_name: String

null terminated string index Except for the sentinel ReferenceTrace element, in which case:

  • 0 means remaining references hidden
  • 0 means N references hidden

src_loc: SourceLocationIndex

Index into extra of a SourceLocation If this is 0, this is the sentinel ReferenceTrace element.

Source Code

Source code
pub const ReferenceTrace = struct {
    /// null terminated string index
    /// Except for the sentinel ReferenceTrace element, in which case:
    /// * 0 means remaining references hidden
    /// * >0 means N references hidden
    decl_name: String,
    /// Index into extra of a SourceLocation
    /// If this is 0, this is the sentinel ReferenceTrace element.
    src_loc: SourceLocationIndex,
}