Skip to content

Error when a type parameter name is given parameters itself #1687

Closed
@marijnh

Description

@marijnh

Currently we ignore the bogus <int, bool> in the type below. I think this never makes sense, and should simply result in an error.

fn foo<T>(_x: T<int, bool>) {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions