Skip to content

Consider providing meaningful Spans in stable implementation #27

@dtolnay

Description

@dtolnay

It looks like cpp_syn uses low and high indices into the input string like so:

pub struct Span {
    pub lo: usize,
    pub hi: usize,
}

@mystor if we are able to provide the same thing here, would that eliminate the need for cpp_syn?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions