about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-08 13:26:36 +0900
committerGitHub <noreply@github.com>2021-06-08 13:26:36 +0900
commit2e8ffed8618c000419fb1e206525bde114d03675 (patch)
tree085e7758b8e3f5de3c79c690d0cf2331d9f7b75b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf99a892e6dabffc73fa26cde10ce7e54a252e660 (diff)
parent09307a3e0db0154ac0c37443463a73c32bfe9b5d (diff)
downloadrust-2e8ffed8618c000419fb1e206525bde114d03675.tar.gz
rust-2e8ffed8618c000419fb1e206525bde114d03675.zip
Rollup merge of #86096 - FabianWolff:ec-E0316, r=GuillaumeGomez
Comment out unused error codes and add description for E0316

I have added an extended description of `E0316` and commented out a bunch of unused error codes to make clear the fact that they are no longer in use. You can check for yourself with
```shell
for ec in                                                \
    E0314 E0315   E0473 E0474 E0475   E0479 E0480 E0481  \
    E0483 E0484 E0485 E0486 E0487 E0488 E0489
do
    if [ ! -z "`grep -r $ec compiler/* --exclude-dir=rustc_error_codes`" ]
    then
        echo $ec
        false
    fi
done
```
i.e. these error codes appear nowhere in the compiler code and thus cannot be emitted.

r? ```@GuillaumeGomez```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions