Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | crates/test-utils/src/minicore.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/test-utils/src/minicore.rs b/crates/test-utils/src/minicore.rs index 15bee61381..8ae3a56227 100644 --- a/crates/test-utils/src/minicore.rs +++ b/crates/test-utils/src/minicore.rs @@ -977,7 +977,9 @@ pub mod fmt { } impl UnsafeArg { - pub unsafe fn new() -> Self; + pub unsafe fn new() -> Self { + UnsafeArg { _private: () } + } } } @@ -1488,7 +1490,6 @@ mod macros { } // endregion:unimplemented - // region:derive pub(crate) mod builtin { #[rustc_builtin_macro] |