Skip to content

Feature gate non-ascii lifetimes #19069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
huonw opened this issue Nov 18, 2014 · 0 comments · Fixed by #19073
Closed

Feature gate non-ascii lifetimes #19069

huonw opened this issue Nov 18, 2014 · 0 comments · Fixed by #19073

Comments

@huonw
Copy link
Member

huonw commented Nov 18, 2014

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.

@ghost ghost self-assigned this Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant