blob: 7811f52c0201deaf77a5432f21f4f18bf09c75af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
impl S {
fn a(self) {}
fn b(&self,) {}
fn c(&'a self,) {}
fn d(&'a mut self, x: i32) {}
fn e(mut self) {}
fn f(#[must_use] self) {}
fn g1(#[attr] self) {}
fn g2(#[attr] &self) {}
fn g3<'a>(#[attr] &mut self) {}
fn g4<'a>(#[attr] &'a self) {}
fn g5<'a>(#[attr] &'a mut self) {}
}
|