Skip to content

Commit 02531e5

Browse files
authored
Rollup merge of rust-lang#82003 - ojeda:stack-probe-msg, r=estebank
Stack probes: fix error message
2 parents 758adcd + 0df8dde commit 02531e5

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ impl StackProbeType {
589589
Ok(StackProbeType::InlineOrCall { min_llvm_version_for_inline })
590590
}
591591
_ => Err(String::from(
592-
"`kind` expected to be one of `inline-or-none`, `call` or `inline-or-call`",
592+
"`kind` expected to be one of `none`, `inline`, `call` or `inline-or-call`",
593593
)),
594594
}
595595
}

0 commit comments

Comments
 (0)