Skip to content

Incorrect parse of obsolete class method syntax #4830

Closed
@brson

Description

@brson
pub struct Scheduler {
    /// The event loop used to drive the scheduler and perform I/O
    priv event_loop: ~UvSchedEventLoop
}

pub fn main() { }

Results in 'obsolete syntax: class method', pointing at priv. This syntax error is old and should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The lexing & parsing of Rust source code to an ASTE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions