2025-02-22 14:50:00 +01:00
|
|
|
//@ compile-flags: -Zunpretty=hir
|
|
|
|
|
//@ check-pass
|
2025-04-16 10:45:03 +02:00
|
|
|
//@ edition: 2015
|
2025-02-22 14:50:00 +01:00
|
|
|
|
|
|
|
|
pub struct Bar {
|
|
|
|
|
a: String,
|
|
|
|
|
b: u8,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl Bar {
|
|
|
|
|
fn imm_self(self) {}
|
|
|
|
|
fn mut_self(mut self) {}
|
|
|
|
|
fn refimm_self(&self) {}
|
|
|
|
|
fn refmut_self(&mut self) {}
|
|
|
|
|
}
|