Skip to content

Commit c029bc5

Browse files
authored
Rollup merge of rust-lang#66418 - ecstatic-morse:hir-const-check-err-msg, r=estebank
Link to tracking issue in HIR const-check error code description This is a follow up to rust-lang#66170 that addresses [this comment](rust-lang#66170 (comment)). As an aside, the only other error code whose description uses the phrase "tracking issue" is `E0202`. We may want to come up with standards around this, especially since error codes are now centralized and easier to keep track of (thanks @GuillaumeGomez). r? @estebank (since they +1'ed the comment)
2 parents f582340 + 336e332 commit c029bc5

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)