Closed
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.