Skip to content

use super :: A does not parse #14109

Closed
@alexcrichton

Description

@alexcrichton
pub struct A;

mod test {
    use super :: A;
}
foo.rs:4:9: 4:14 error: found `super` in ident position                               
foo.rs:4     use super :: A;                                                          
                 ^~~~~                                                                
error: aborting due to previous error                                                 

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of Rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions