Rollup merge of #82003 - ojeda:stack-probe-msg, r=estebank
Stack probes: fix error message
This commit is contained in:
commit
55539cbdc0
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ impl StackProbeType {
|
||||||
Ok(StackProbeType::InlineOrCall { min_llvm_version_for_inline })
|
Ok(StackProbeType::InlineOrCall { min_llvm_version_for_inline })
|
||||||
}
|
}
|
||||||
_ => Err(String::from(
|
_ => Err(String::from(
|
||||||
"`kind` expected to be one of `inline-or-none`, `call` or `inline-or-call`",
|
"`kind` expected to be one of `none`, `inline`, `call` or `inline-or-call`",
|
||||||
)),
|
)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue