Alex Crichton
4ff558cdba
rollup merge of #24894 : bguiz/diagnostic-E0267
...
This error indicates that a constant references itself.
All constants need to resolve to a value in an acyclic manner.
For example, neither of the following can be sensibly compiled:
```
const X: u32 = X;
```
```
const X: u32 = Y;
const Y: u32 = X;
```
2015-04-29 15:45:43 -07:00
..
2015-04-27 10:11:15 -07:00
2015-04-29 15:45:41 -07:00
2015-04-23 21:02:26 -06:00
2015-04-28 17:23:45 -07:00
2015-04-28 17:23:45 -07:00
2015-04-28 17:23:45 -07:00
2015-04-28 17:23:45 -07:00
2015-04-29 15:45:42 -07:00
2015-04-29 02:16:01 +00:00
2015-04-27 10:11:15 -07:00
2015-04-24 23:06:41 +02:00
2015-04-29 15:45:43 -07:00
2015-04-29 15:45:34 -07:00
2015-04-28 17:23:45 -07:00
2015-04-24 23:06:41 +02:00
2015-04-28 17:23:45 -07:00
2015-04-28 17:23:45 -07:00
2015-04-29 15:45:36 -07:00
2015-04-23 21:02:26 -06:00
2015-04-23 21:02:29 -06:00
2015-04-29 15:45:42 -07:00
2015-04-29 15:45:42 -07:00
2015-04-27 16:45:21 +00:00
2015-04-29 15:45:34 -07:00
2015-04-28 17:23:45 -07:00
2015-04-24 23:06:41 +02:00
2015-04-27 17:16:44 -07:00
2015-04-25 00:21:13 +02:00
2015-04-25 19:41:21 -06:00
2015-04-29 15:45:37 -07:00
2015-04-28 17:23:45 -07:00