about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-11-05 09:20:59 -0500
committerCorey Farwell <coreyf@rwell.org>2017-11-06 20:36:48 -0500
commitc3ea358121e493ace14308e153b70692439fb154 (patch)
treef709c9bec26fe46569febded999b1a30d9b07c61 /src/test/incremental/thinlto
parent4efcc660f09ce3e83d194889f6d1161bf865f788 (diff)
downloadrust-c3ea358121e493ace14308e153b70692439fb154.tar.gz
rust-c3ea358121e493ace14308e153b70692439fb154.zip
Display all emission types in error msg if user inputs invalid option.
before:

```
> rustc --emit foo
error: unknown emission type: `foo`
```

after:

```
> rustc --emit foo
error: unknown emission type: `foo` - expected one of: `llvm-bc`, `asm`, `llvm-ir`, `mir`, `obj`, `metadata`, `link`, `dep-info`
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions