about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-29 15:45:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-29 15:45:43 -0700
commit4ff558cdba03907b699eb908ad4ce8e0d62791b1 (patch)
treef4ce18381b839a512289295208587072b3b83bbb /src/test/codegen/stack-alloc-string-slice.cc
parent783b4bbf69024fabc2f44c7fc158f82ccf71c4b0 (diff)
parent1335be33e4587184069a7a50c813ce6420b81a5f (diff)
downloadrust-4ff558cdba03907b699eb908ad4ce8e0d62791b1.tar.gz
rust-4ff558cdba03907b699eb908ad4ce8e0d62791b1.zip
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;
```
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions