Skip to content

Commit

Permalink
Fixes #116.
Browse files Browse the repository at this point in the history
  • Loading branch information
someguynamedjosh committed Jan 11, 2025
1 parent a032394 commit f7bb40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ouroboros_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn self_referencing_impl(
let (with_defs, with_errors) = make_with_functions(&info, options);
let with_errors = with_errors
.into_iter()
.map(|err| err.emit_as_expr_tokens())
.map(|err| err.emit_as_item_tokens())
.collect::<Vec<_>>();
let (with_all_struct_def, with_all_fn_def) = make_with_all_function(&info, options)?;
let (with_all_mut_struct_def, with_all_mut_fn_def) =
Expand Down

0 comments on commit f7bb40f

Please sign in to comment.