Skip to content

FP syntax error use std::fmt::self; #23000

Description

@matthiaskrgr
use std::fmt::self;
fn main () {}

this compiles but ra diagnostics say

at crate ra, file /tmp/ra/src/main.rs: Error SyntaxError from LineCol { line: 0, col: 14 } to LineCol { line: 0, col: 18 }: Syntax Error: The `self` keyword is only allowed as the first segment of a path

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserparser issuesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions