Skip to content

Overriding a method with one of a different type compiles and shouldn't #703

Closed

Description

@lkuper

See src/comp/test/compile-fail/anon-obj-overloading-wrong-type.rs.

Activity

  1. ghost assigned on Jul 15, 2011
  2. reopened this on Jul 20, 2011
  3. removed their assignment
    on Jun 16, 2014
  4. added a commit that references this issue on Dec 12, 2017
  5. added a commit that references this issue on Apr 23, 2020
  6. added a commit that references this issue on Jun 3, 2025
  7. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions