MCPcopy Create free account
hub / github.com/csskit/csskit / unexpected_at_next

Function unexpected_at_next

crates/csskit_derives/src/parse.rs:214–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214fn unexpected_at_next() -> TokenStream {
215 quote! { return Err(crate::Diagnostic::new(p.peek_n(1), crate::Diagnostic::unexpected))?; }
216}
217
218fn unexpected_at_c() -> TokenStream {
219 quote! { Err(crate::Diagnostic::new(c, crate::Diagnostic::unexpected))? }

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected