提交 a91bad65 编写于 作者: O Oliver Scherer

Highlight an error that can only happen in CTFE

上级 b2395a5e
......@@ -438,7 +438,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
/// Error information for when the program did something that might (or might not) be correct
/// to do according to the Rust spec, but due to limitations in the interpreter, the
/// operation could not be carried out. These limitations can differ between CTFE and the
/// Miri engine, e.g., CTFE does not support casting pointers to "real" integers.
/// Miri engine, e.g., CTFE does not support dereferencing pointers at integral addresses.
///
/// Currently, we also use this as fall-back error kind for errors that have not been
/// categorized yet.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册