Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/mir/eval/shim.rs')
-rw-r--r--crates/hir-ty/src/mir/eval/shim.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/hir-ty/src/mir/eval/shim.rs b/crates/hir-ty/src/mir/eval/shim.rs
index ff6c99ca53..2aed76ec90 100644
--- a/crates/hir-ty/src/mir/eval/shim.rs
+++ b/crates/hir-ty/src/mir/eval/shim.rs
@@ -518,7 +518,7 @@ impl<'db> Evaluator<'db> {
"sched_getaffinity" => {
let [_pid, _set_size, set] = args else {
return Err(MirEvalError::InternalError(
- "libc::write args are not provided".into(),
+ "sched_getaffinity args are not provided".into(),
));
};
let set = Address::from_bytes(set.get(self)?)?;
@@ -530,9 +530,7 @@ impl<'db> Evaluator<'db> {
}
"getenv" => {
let [name] = args else {
- return Err(MirEvalError::InternalError(
- "libc::write args are not provided".into(),
- ));
+ return Err(MirEvalError::InternalError("getenv args are not provided".into()));
};
let mut name_buf = vec![];
let name = {