Skip to content

Commit

Permalink
Link to tracking issue in HIR const-check error
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed Nov 14, 2019
1 parent 82cf3a4 commit 336e332
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/librustc_error_codes/error_codes/E0744.md
Expand Up @@ -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

0 comments on commit 336e332

Please sign in to comment.