Rollup merge of #82003 - ojeda:stack-probe-msg, r=estebank

Stack probes: fix error message
This commit is contained in:
Yuki Okushi 2021-02-12 19:32:17 +09:00 committed by GitHub
commit 55539cbdc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ impl StackProbeType {
Ok(StackProbeType::InlineOrCall { min_llvm_version_for_inline })
}
_ => 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`",
)),
}
}