Skip to content

Bad span for self type #27522

Closed
Closed
@marcusklaas

Description

@marcusklaas

The high end of the span of &SomeType in

trait Foo {
    fn handler(self: &SomeType);
}

is incorrectly set to BytePos(0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-trait-systemArea: Trait systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions