Skip to content

Commit 0df8dde

Browse files
committed
Stack probes: fix error message
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 26e5bcd commit 0df8dde

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)