Link to tracking issue in HIR const-check error

This commit is contained in:
Dylan MacKenzie 2019-11-14 09:42:01 -08:00
parent 82cf3a4486
commit 336e332fd6

View File

@ -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