Skip to main content

SourceId

Type Alias SourceId 

Source
pub type SourceId = File;
Expand description

Compatibility name for the source identity stored by Span.

Aliased Type§

pub enum SourceId {
    FileId(u16),
    Synthetic(u16),
}

Variants§

§

FileId(u16)

An ordinary source file registered under a compact process-local id.

§

Synthetic(u16)

Syntax constructed without a corresponding on-disk source file.