aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-08-22 20:09:47 +0000
committerGitHub <noreply@github.com>2021-08-22 20:09:47 +0000
commit40042ce11fc5d7f62e31be99e82bf6a0db83234a (patch)
tree65c19173e49e2e8f79a2a87bfb82e4c57b34de4f /gcc/rust/backend/rust-compile-expr.h
parentb3bb2e194c814434e80b9b427df37fe24fc70e6c (diff)
parent5a731790054474a6361b88a7a123abc8013e4d4e (diff)
downloadgcc-40042ce11fc5d7f62e31be99e82bf6a0db83234a.zip
gcc-40042ce11fc5d7f62e31be99e82bf6a0db83234a.tar.gz
gcc-40042ce11fc5d7f62e31be99e82bf6a0db83234a.tar.bz2
Merge #642
642: Reject duplicate field names in structs and unions. r=philberty a=dkm From Mark Wielaard : https://gcc.gnu.org/pipermail/gcc-rust/2021-August/000150.html > Odd things happen if structs or unions have duplicate field names. > Emit an error when lowering an struct/union item or declaration > statement and a duplicate field name is detected. A new testcase > 'dup_fields.rs' checks an error is actually produced. Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions