Skip to content

foo.bar: should expected : #33455

Closed
Closed
@liigo

Description

@liigo
use foo.bar; // expected one of `;` or `as`, found `.`

Should it expect a :?

Full example code:

mod foo {
    fn bar() {}
}

fn main() {
    use foo.bar; // expected one of `;` or `as`, found `.`
    bar();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-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