Skip to content

Can't implement the same method for multiple classes #4

Closed
@SSheldon

Description

@SSheldon

Currently, the extern function implementing a method in the method! macro uses the first part of the selector as its name. Unfortunately, if two extern functions anywhere have the same name, rustc crashes. This is described in rust-lang/rust#16403, which was closed as a duplicate of rust-lang/rust#10883, and the discussion there seems to indicate it's an expected error and won't be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions