Home
last modified time | relevance | path

Searched refs:CompileError (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/rust/qemu-api-macros/src/
H A Dlib.rs13 struct CompileError(String, Span); struct
15 impl From<CompileError> for proc_macro2::TokenStream {
16 fn from(err: CompileError) -> Self { in from()
17 let CompileError(msg, span) = err; in from() localVariable
22 fn is_c_repr(input: &DeriveInput, msg: &str) -> Result<(), CompileError> { in is_c_repr() argument
28 Err(CompileError( in is_c_repr()
51 fn get_fields(input: &DeriveInput) -> Result<&Punctuated<Field, Comma>, CompileError> { in get_fields() argument
56 Err(CompileError( in get_fields()
62 Err(CompileError( in get_fields()
70 fn derive_offsets_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, CompileError> { in derive_offsets_or_error() argument