Skip to content

default methods are broken cross crate when defined on structs #7481

Closed
@thestinger

Description

@thestinger
let xs = [1, 2, 3, 9, 11]; xs.iter().take_(2).size_hint()
<anon>:9:36: 10:5 error: internal compiler error: method not found in AST map?!
<anon>:9          let xs = [1, 2, 3, 9, 11]; xs.iter().take_(2).size_hint()
<anon>:10     };

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