diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-04-06 17:15:31 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-04-06 17:15:31 +0530 |
| commit | af7b00b68fc7960e98fb914be52d9a6a16fe2224 (patch) | |
| tree | 13260050b5b5463c491ae61c941f60477421fdc0 /src/libsyntax/errors | |
| parent | 772c600d4d6f39daa6d07d1a60ee0df3d3426978 (diff) | |
| parent | 8fe4290f1cf87bf7b0a0661e6bbe84f3319e614d (diff) | |
| download | rust-af7b00b68fc7960e98fb914be52d9a6a16fe2224.tar.gz rust-af7b00b68fc7960e98fb914be52d9a6a16fe2224.zip | |
Rollup merge of #32682 - petrochenkov:field3, r=Manishearth
The AST part of https://github.com/rust-lang/rust/pull/31937 Unlike HIR, AST still uses `Option` for field names because parser can't know field indexes reliably due to constructions like ``` struct S(#[cfg(false)] u8, u8); // The index of the second field changes from 1 during parsing to 0 after expansion. ``` and I wouldn't like to put the burden of renaming fields on expansion passes and syntax extensions. plugin-[breaking-change] cc https://github.com/rust-lang/rust/issues/31645 r? @Manishearth
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
