mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Stack probes: fix error message
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
26e5bcd220
commit
0df8ddee53
@ -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`",
|
||||
)),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user