From 4e6d6cd8d5b8d4ad69e1f38afea453d33abdba90 Mon Sep 17 00:00:00 2001 From: Chris Olstrom Date: Wed, 23 Oct 2024 21:34:03 -0700 Subject: [PATCH] adds support for re-exporting crate --- proptest-derive/src/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proptest-derive/src/ast.rs b/proptest-derive/src/ast.rs index c29fdbb3..a5a5ed92 100644 --- a/proptest-derive/src/ast.rs +++ b/proptest-derive/src/ast.rs @@ -116,7 +116,7 @@ impl Impl { #[allow(non_upper_case_globals)] #[allow(clippy::arc_with_non_send_sync)] const _: () = { - extern crate proptest as _proptest; + use proptest as _proptest; impl #impl_generics _proptest::arbitrary::Arbitrary for #typ #ty_generics #where_clause {