-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-prettyArea: Pretty printing (including `-Z unpretty`)Area: Pretty printing (including `-Z unpretty`)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
Description
Simple test case:
struct Foo {
i: int,
}
impl Foo {
fn bar(&self) -> &self/int { &self.i }
}
fn main() { }
The pretty printer outputs this:
struct Foo {
i: int,
}
impl Foo {
fn bar(&self) -> &self /int { &self.i }
}
fn main() { }
Note the space between &self
and /int
, which is different than how it's usually printed out.
Metadata
Metadata
Assignees
Labels
A-prettyArea: Pretty printing (including `-Z unpretty`)Area: Pretty printing (including `-Z unpretty`)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.