Skip to content

Commit

Permalink
Rollup merge of rust-lang#82003 - ojeda:stack-probe-msg, r=estebank
Browse files Browse the repository at this point in the history
Stack probes: fix error message
  • Loading branch information
JohnTitor committed Feb 12, 2021
2 parents 758adcd + 0df8dde commit 02531e5
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 02531e5

Please sign in to comment.