rtic_macros/syntax/backend/
cortex.rs

1use syn::{
2    parse::{Parse, ParseStream},
3    Error, Result,
4};
5
6#[derive(Debug)]
7pub struct BackendArgs();
8
9impl Parse for BackendArgs {
10    fn parse(input: ParseStream) -> Result<Self> {
11        Err(Error::new(
12            input.span(),
13            "cortex backend does not accept any arguments",
14        ))
15    }
16}