Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Handle emplacement oddity? #47

@ehuss

Description

@ehuss

The following fails to parse in libsyntax due to the <- being a token, it requires spaces to parse properly.

if x<-1 {}

The lyg grammar parses it in a sane way.

It's never been clear to me whether or not this is a bug in rustc. We'll need to figure out our policy for documenting bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ambiguityPotential sources of ambiguitybugSomething isn't workinggrammarIssues with the definition of the rust grammarrestrictionsIssues related to the permissiveness of the grammar

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions