Skip to content

Feature gate non-ascii lifetimes #19069

Closed
@huonw

Description

@huonw

The following compiles fine:

#![allow(dead_code)]

struct Foo<'π> {
    x: &'π int
}

fn foo<'π>(_: &'π int) {}

fn main() {}

These should presumably be feature-gated like identifiers are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions