about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-22 23:38:00 -0400
committerGitHub <noreply@github.com>2017-03-22 23:38:00 -0400
commitb5dad3a1ab28cbaacc4f71e56c063ed6be132eb0 (patch)
tree4d848d78455bf724b9925a99956d6f55b2d9f123 /src/rustllvm/PassWrapper.cpp
parentcc98dfc8d265a40c6e1463022b862ede01f4ed26 (diff)
parent8a6ef505750152cf9034dfe26858b241221a3400 (diff)
downloadrust-b5dad3a1ab28cbaacc4f71e56c063ed6be132eb0.tar.gz
rust-b5dad3a1ab28cbaacc4f71e56c063ed6be132eb0.zip
Rollup merge of #40542 - abonander:issue_40535, r=jseyfried
Correctly get source for metatdata-only crate type

Closes #40535

However, I'm not sure how to approach writing a regression test since I'm still working on a reduced test case from the code that caused the ICE in the first place. It's not enough to have an unknown `extern crate` in a metadata crate, it depends on a few extra arguments but I'm not sure which yet.

Also replaced the `unwrap()` with a more informative `expect()`.

r? @jseyfried
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions