We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
linera-views-derive
1 parent 59e2513 commit d53a945Copy full SHA for d53a945
linera-views-derive/src/lib.rs
@@ -64,7 +64,7 @@ fn generate_view_code(input: ItemStruct, root: bool) -> Result<TokenStream2, Err
64
} = Constraints::get(&input);
65
66
let attrs: StructAttrs = deluxe::parse_attributes(&input)
67
- .map_err(|e| Error::new_spanned(&input, format!("Failed to parse attributes: {}", e)))?;
+ .map_err(|e| Error::new_spanned(&input, format!("Failed to parse attributes: {e}")))?;
68
let context = attrs.context.or_else(|| {
69
input.generics.type_params().next().map(|param| {
70
let ident = ¶m.ident;
0 commit comments