Lines Matching refs:apostrophe
13 /// - Must start with an apostrophe.
14 /// - Must not consist of just an apostrophe: `'`.
15 /// - Character after the apostrophe must be `_` or a Unicode code point with
20 pub apostrophe: Span,
42 "lifetime name must start with apostrophe as in \"'a\", got {:?}",
56 apostrophe: span,
62 self.apostrophe
64 .unwrap_or(self.apostrophe)
68 self.apostrophe = span;
83 apostrophe: self.apostrophe,
150 let mut apostrophe = Punct::new('\'', Spacing::Joint);
151 apostrophe.set_span(self.apostrophe);
152 tokens.append(apostrophe);