about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-23 12:54:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-08-25 16:08:35 -0700
commitecb29c11bbcfac40218b6b35e9ccf26b4a7db151 (patch)
treea2879b00e65a2a6189c48b313cf2d4f54aa8ce76 /src/rustllvm/RustWrapper.cpp
parent97f2c37435b76c59ff60164b30a02f09641f798f (diff)
downloadrust-ecb29c11bbcfac40218b6b35e9ccf26b4a7db151.tar.gz
rust-ecb29c11bbcfac40218b6b35e9ccf26b4a7db151.zip
rustc: Fix two instances of `try_get`
The `sized_constraint` and `needs_drop_raw` queries both use `try_get` to detect
cycles, but in both of these cases the cycle indicates an error has happened
elsewhere in compilation. In these cases we can just delay the diagnostic to get
emitted as a bug later if we ended up forgetting to emit the error diagnostic.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions