From fb7c1b77958c9ae850edd2392c85c83dfe27ed00 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 26 Feb 2019 08:47:15 -0800 Subject: [PATCH] `Self` struct constructors are unstable. --- lib/runtime/src/vmcontext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime/src/vmcontext.rs b/lib/runtime/src/vmcontext.rs index 2e8c9140019e..b5f2a507e297 100644 --- a/lib/runtime/src/vmcontext.rs +++ b/lib/runtime/src/vmcontext.rs @@ -409,7 +409,7 @@ mod test_vmshared_signature_index { impl VMSharedSignatureIndex { /// Create a new `VMSharedSignatureIndex`. pub fn new(value: u32) -> Self { - Self(value) + VMSharedSignatureIndex(value) } }