Skip to content

Commit a91bad6

Browse files
committed
Highlight an error that can only happen in CTFE
1 parent b2395a5 commit a91bad6

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_middle/mir/interpret

1 file changed

+1
-1
lines changed

src/librustc_middle/mir/interpret/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl fmt::Debug for UndefinedBehaviorInfo {
438438
/// Error information for when the program did something that might (or might not) be correct
439439
/// to do according to the Rust spec, but due to limitations in the interpreter, the
440440
/// operation could not be carried out. These limitations can differ between CTFE and the
441-
/// Miri engine, e.g., CTFE does not support casting pointers to "real" integers.
441+
/// Miri engine, e.g., CTFE does not support dereferencing pointers at integral addresses.
442442
///
443443
/// Currently, we also use this as fall-back error kind for errors that have not been
444444
/// categorized yet.

0 commit comments

Comments
 (0)