about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrendan Graetz <github@bguiz.com>2015-04-28 19:53:10 +1000
committerBrendan Graetz <github@bguiz.com>2015-04-28 20:09:38 +1000
commit8933253f2b1e8cd164b1290e2a41135c31c4b2c6 (patch)
tree33db11f2f36bf2fadadc79f19507bbcfbc042676 /src/rustllvm/RustWrapper.cpp
parentda2276e293359708b62bb489801cb9872d19d32f (diff)
downloadrust-8933253f2b1e8cd164b1290e2a41135c31c4b2c6.tar.gz
rust-8933253f2b1e8cd164b1290e2a41135c31c4b2c6.zip
=BG= Add detailed error message for E0265
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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions