Skip to content

Commit 336e332

Browse files
Link to tracking issue in HIR const-check error
1 parent 82cf3a4 commit 336e332

File tree

1 file changed

+7
-0
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+7
-0
lines changed

src/librustc_error_codes/error_codes/E0744.md

+7
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ const _: i32 = {
1515
x
1616
};
1717
```
18+
19+
This will be allowed at some point in the future, but the implementation is not
20+
yet complete. See the tracking issue for [conditionals] or [loops] in a const
21+
context for the current status.
22+
23+
[conditionals]: https://github.com/rust-lang/rust/issues/49146
24+
[loops]: https://github.com/rust-lang/rust/issues/52000

0 commit comments

Comments
 (0)