Skip to content

Commit

Permalink
Highlight an error that can only happen in CTFE
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Apr 30, 2020
1 parent b2395a5 commit a91bad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_middle/mir/interpret/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ impl fmt::Debug for UndefinedBehaviorInfo {
/// 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.
Expand Down

0 comments on commit a91bad6

Please sign in to comment.