Link to tracking issue in HIR const-check error
This commit is contained in:
parent
82cf3a4486
commit
336e332fd6
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue