diff --git a/cpp/include/mun/type.h b/cpp/include/mun/type.h index 9de2f47d4..57cdac55e 100644 --- a/cpp/include/mun/type.h +++ b/cpp/include/mun/type.h @@ -14,8 +14,6 @@ namespace mun { * on a moved `Type` will result in an assertion. */ class Type { - friend class StructType; - public: /** * @brief Constructs type information from an instantiated `MunType`. diff --git a/crates/mun_runtime/src/assembly.rs b/crates/mun_runtime/src/assembly.rs index 42ab40973..11eb94035 100644 --- a/crates/mun_runtime/src/assembly.rs +++ b/crates/mun_runtime/src/assembly.rs @@ -129,7 +129,7 @@ impl Assembly { }) .collect::, _>>() .with_context(|| { - format!("failed to link function '{}' b", fn_prototype.name()) + format!("failed to link function '{}'", fn_prototype.name()) })?; // Get the return type info @@ -142,7 +142,7 @@ impl Assembly { ) }) .with_context(|| { - format!("failed to link function '{}' c", fn_prototype.name()) + format!("failed to link function '{}'", fn_prototype.name()) })?; // Ensure that the function is in the runtime dispatch table @@ -166,7 +166,7 @@ impl Assembly { return Err(anyhow!("a function with the same name does exist, but the signatures do not match.\nExpected:\n\tfn {fn_name}({expected}) -> {}\n\nFound:\n\tfn {fn_name}({found}) -> {}", fn_proto_ret_type_info.name(), existing_fn_def.prototype.signature.return_type.name())) - .with_context(|| format!("failed to link function '{}' a", fn_prototype.name())); + .with_context(|| format!("failed to link function '{}'", fn_prototype.name())); } *dispatch_ptr = existing_fn_def.fn_ptr;