Lines Matching full:kind
32 /// #[tea(kind = "EarlGrey", hot)]
39 /// - `kind = "..."`
53 /// let mut kind: Option<LitStr> = None;
57 /// if meta.path.is_ident("kind") {
58 /// kind = Some(meta.value()?.parse()?);
74 /// eprintln!("kind={kind:?} hot={hot} with={with:?}");
88 /// 3 | #[tea(kind = "EarlGrey", with(sugar = "lol", milk))]
118 /// kind: Option<LitStr>,
125 /// if meta.path.is_ident("kind") {
126 /// self.kind = Some(meta.value()?.parse()?);
185 /// #[tea(kind = "EarlGrey")]
190 /// if meta.path.is_ident("kind") { // this parses the `kind`
295 /// if meta.path.is_ident("kind") {
313 /// 3 | #[tea(kind = "EarlGrey", wat = "foo")]
327 /// if meta.path.is_ident("kind") {
336 /// _ => Err(meta.error("tea kind must be a string literal, path, or macro")),
347 /// error: tea kind must be a string literal, path, or macro
350 /// 3 | #[tea(kind = async { replicator.await })]
368 /// _ => Err(Error::new_spanned(expr, "unsupported expression type for `kind`")),
374 /// error: unsupported expression type for `kind`
377 /// 3 | #[tea(kind = async { replicator.await })]