Skip to content

Parsing of ? opt-out trait bounds doesn't match rustc #12442

@jonas-schievink

Description

@jonas-schievink

This is valid code, but rust-analyzer doesn't parse it correctly:

fn f<T>() where T: ?for<> Sized {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserparser issuesC-bugCategory: bugS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions