diff --git a/dummy_derive/src/lib.rs b/dummy_derive/src/lib.rs index b84e7d7..7ec584d 100644 --- a/dummy_derive/src/lib.rs +++ b/dummy_derive/src/lib.rs @@ -234,7 +234,7 @@ fn expose_field(f: &DummyField) -> proc_macro2::TokenStream { if let Some(ref from) = f.from { let from_ty = syn::parse_str::(from).unwrap(); quote! { - std::convert::Into::<#field_ty>::into(::fake::Fake::fake_with_rng::<#from_ty, _>(&(#faker), rng)) + ::std::convert::Into::<#field_ty>::into(::fake::Fake::fake_with_rng::<#from_ty, _>(&(#faker), rng)) } } else if let Some(ref wrapper) = f.wrapper { let wrapper_ty = syn::parse_str::(wrapper).unwrap();