Skip to content

Commit

Permalink
Stack probes: fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Feb 11, 2021
1 parent 26e5bcd commit 0df8dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`",
)),
}
}
Expand Down

0 comments on commit 0df8dde

Please sign in to comment.