diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2021-02-11 20:33:16 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2021-02-11 20:33:16 +0100 |
| commit | 0df8ddee534c05247a9657e6da99b49652500a7d (patch) | |
| tree | 068a738d8233238ebe165696afb415afab714393 | |
| parent | 26e5bcd22025a0d949b76766af76e92ed4434199 (diff) | |
| download | rust-0df8ddee534c05247a9657e6da99b49652500a7d.tar.gz rust-0df8ddee534c05247a9657e6da99b49652500a7d.zip | |
Stack probes: fix error message
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index 7a93bac72ca..0e55c4ec0b7 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -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`", )), } } |
