Skip to content

Passing a type parameter to a tag constructor that doesn't expect one isn't checked #619

Closed
@marijnh

Description

@marijnh
Contributor

Instead, you get an index out of bounds error in typeck. This should probably be checked and properly reported. (I didn't check with non-tag-constructor functions, the same problem probably exists there)

Activity

ghost assigned on Jul 5, 2011
added a commit that references this issue on Dec 12, 2017

Auto merge of rust-lang#619 - gdf8gdn8:fixed-missing-epolloneshot-and…

added a commit that references this issue on Apr 23, 2020

Merge pull request rust-lang#619 from rust-lang-nursery/repr-align-en…

95cb608
added a commit that references this issue on Mar 7, 2023
added a commit that references this issue on Apr 18, 2025
1a25284
added a commit that references this issue on Jun 3, 2025

Merge pull request rust-lang#619 from tgross35/update-intrinsics

24d4826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @marijnh@pcwalton

      Issue actions

        Passing a type parameter to a tag constructor that doesn't expect one isn't checked · Issue #619 · rust-lang/rust