about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-14 09:42:01 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-14 09:42:01 -0800
commit336e332fd6f6ce1433ab29b58f6845f7662e60cf (patch)
treef463a206f6a65e8a2218f55276dc512b3c8cf58e
parent82cf3a4486bc882207a09bf0d9e2dea4632781aa (diff)
downloadrust-336e332fd6f6ce1433ab29b58f6845f7662e60cf.tar.gz
rust-336e332fd6f6ce1433ab29b58f6845f7662e60cf.zip
Link to tracking issue in HIR const-check error
-rw-r--r--src/librustc_error_codes/error_codes/E0744.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes/E0744.md b/src/librustc_error_codes/error_codes/E0744.md
index 254223f3565..b299102fd69 100644
--- a/src/librustc_error_codes/error_codes/E0744.md
+++ b/src/librustc_error_codes/error_codes/E0744.md
@@ -15,3 +15,10 @@ const _: i32 = {
     x
 };
 ```
+
+This will be allowed at some point in the future, but the implementation is not
+yet complete. See the tracking issue for [conditionals] or [loops] in a const
+context for the current status.
+
+[conditionals]: https://github.com/rust-lang/rust/issues/49146
+[loops]: https://github.com/rust-lang/rust/issues/52000