Skip to content

Add token_final field to Signature #1961

@nik-rev

Description

@nik-rev

Add this field to Signature:

token_final: Option<Token![final]>

For the language feature tracked by this issue:

rust-lang/rust#131179

trait MyTrait: Display {
    final fn method(&self) {
        println!("MyTrait::method: {self}");
    }
}

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