summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hir_typeck/expr_cs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_typeck/expr_cs.cpp b/src/hir_typeck/expr_cs.cpp
index d44645cb..8db31b5b 100644
--- a/src/hir_typeck/expr_cs.cpp
+++ b/src/hir_typeck/expr_cs.cpp
@@ -4732,7 +4732,7 @@ namespace {
{
const auto& isrc = se.path.m_data.as_Generic().m_params.m_types.at(sm.unsized_param);
const auto& idst = de.path.m_data.as_Generic().m_params.m_types.at(sm.unsized_param);
- return check_unsize_tys(context, sp, isrc, idst, nullptr);
+ return check_unsize_tys(context, sp, idst, isrc, nullptr);
}
else
{