Skip to content

Raw syntax for lifetimes and loop labels #126335

Description

@traviscross

We don't currently accept:

pub fn label() {
    'r#async: loop {
        break 'r#async;
    }
}

pub fn lifetime<'r#async>() {}

Should we? This has relevance to edition migrations.

See:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C-discussionCategory: Discussion or questions that doesn't represent real issues.T-langRelevant to the language team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions