diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-14 04:18:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-14 04:18:40 +0200 |
| commit | 76bd7d62d6ff665631d5415eadebc8142f0aee2d (patch) | |
| tree | 1f9845def4a9d27b642397f1cc88c3f6b4c2f32f /src/test/debuginfo/enum-thinlto.rs | |
| parent | b5df4bb7eb8cd10d31966d86482d6dfb501547fc (diff) | |
| parent | 34dcca20e5909513f08d1c21df1168357c3b6b6a (diff) | |
| download | rust-76bd7d62d6ff665631d5415eadebc8142f0aee2d.tar.gz rust-76bd7d62d6ff665631d5415eadebc8142f0aee2d.zip | |
Rollup merge of #63459 - eddyb:issue-63430, r=petrochenkov
syntax: account for CVarArgs being in the argument list. Fixes #63430 by testing for `1` argument (the `CVarArgs` itself) instead of `0`. Note that the error has basically been impossible to trigger since the change that caused #63430, so perhaps we need an audit of untested errors. Also, this check probably belongs in AST validation/HIR lowering, but I'd rather fix it in place for now. r? @petrochenkov cc @dlrobertson
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
