Skip to content

Commit

Permalink
[derive] Use fully-qualified path for Sized (#233)
Browse files Browse the repository at this point in the history
Part of #11
  • Loading branch information
joshlf authored Aug 8, 2023
1 parent 1209946 commit ab7ed8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerocopy-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ fn impl_block<D: DataExt>(
let use_concrete = if input.generics.params.is_empty() {
Some(quote! {
const _: () = {
fn must_implement_trait<T: zerocopy::#trait_ident + ?Sized>() {}
fn must_implement_trait<T: zerocopy::#trait_ident + ?::core::marker::Sized>() {}
let _ = must_implement_trait::<#type_ident>;
};
})
Expand Down

0 comments on commit ab7ed8f

Please sign in to comment.