aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile.cc')
-rw-r--r--gcc/rust/backend/rust-compile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile.cc b/gcc/rust/backend/rust-compile.cc
index ac3be3b..610e3aa 100644
--- a/gcc/rust/backend/rust-compile.cc
+++ b/gcc/rust/backend/rust-compile.cc
@@ -336,8 +336,8 @@ HIRCompileBase::coerce_to_dyn_object (tree compiled_ref,
}
tree constructed_trait_object
- = ctx->get_backend ()->constructor_expression (dynamic_object, vals, -1,
- locus);
+ = ctx->get_backend ()->constructor_expression (dynamic_object, false, vals,
+ -1, locus);
fncontext fnctx = ctx->peek_fn ();
tree enclosing_scope = ctx->peek_enclosing_scope ();