about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-18 22:56:43 +0100
committerGitHub <noreply@github.com>2019-01-18 22:56:43 +0100
commitd2300afd6605843e79b9cb6bec1ebc752e8ba381 (patch)
tree4152f8f278ce83f1a1c305754f08873b7c981870 /src/rustllvm/RustWrapper.cpp
parentf63e3d2ef4da1b226ba2d0e3933d59a0641b2182 (diff)
parent1e3f475d643603b9570710b13e20de587a22a5ea (diff)
downloadrust-d2300afd6605843e79b9cb6bec1ebc752e8ba381.tar.gz
rust-d2300afd6605843e79b9cb6bec1ebc752e8ba381.zip
Rollup merge of #57650 - AB1908:master, r=petrochenkov
librustc_metadata: Pass a default value when unwrapping a span

Fixes #57323.

When compiling with `static-nobundle` a-la

`rustc -l static-nobundle=nonexistent main.rs`

we now get a neat output in the form of:

```
error[E0658]: kind="static-nobundle" is feature gated (see issue #37403)
  |
  = help: add #![feature(static_nobundle)] to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
```
The build and tests completed successfully on my machine. Should I be adding a new test?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions