diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-04-30 14:53:28 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-04-30 17:06:11 +0200 |
| commit | a91bad6542e40805b68fc9841fdee59a015fca2b (patch) | |
| tree | a58a99bb6bd2e4c79275dabaa939d7d72d6cb76e /src | |
| parent | b2395a5ea6031d541ae8ee0c47caba7fdf20e19e (diff) | |
| download | rust-a91bad6542e40805b68fc9841fdee59a015fca2b.tar.gz rust-a91bad6542e40805b68fc9841fdee59a015fca2b.zip | |
Highlight an error that can only happen in CTFE
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_middle/mir/interpret/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_middle/mir/interpret/error.rs b/src/librustc_middle/mir/interpret/error.rs index 084b5fce385..15b1b7ce526 100644 --- a/src/librustc_middle/mir/interpret/error.rs +++ b/src/librustc_middle/mir/interpret/error.rs @@ -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. |
