diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-11-15 18:36:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-15 18:36:32 +0900 |
| commit | 10a112c6ce8b8cdb4e6d5c252d4cdfe6bda0c87b (patch) | |
| tree | 523b3fa6d591a115bdb483dd187d0b51853fd805 | |
| parent | e4d5f0596da62e9a14583d205027b69821dfc751 (diff) | |
| parent | 336e332fd6f6ce1433ab29b58f6845f7662e60cf (diff) | |
| download | rust-10a112c6ce8b8cdb4e6d5c252d4cdfe6bda0c87b.tar.gz rust-10a112c6ce8b8cdb4e6d5c252d4cdfe6bda0c87b.zip | |
Rollup merge of #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 #66170 that addresses [this comment](https://github.com/rust-lang/rust/pull/66170#discussion_r344021268). 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)
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0744.md | 7 |
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 |
