Skip to content

Commit 311a2b0

Browse files
committed
[derive] Use fully-qualified path for Sized (#233)
Part of #11
1 parent a31ffef commit 311a2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zerocopy-derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ fn impl_block<D: DataExt>(
602602
let use_concrete = if input.generics.params.is_empty() {
603603
Some(quote! {
604604
const _: () = {
605-
fn must_implement_trait<T: zerocopy::#trait_ident + ?Sized>() {}
605+
fn must_implement_trait<T: zerocopy::#trait_ident + ?::core::marker::Sized>() {}
606606
let _ = must_implement_trait::<#type_ident>;
607607
};
608608
})

0 commit comments

Comments
 (0)