]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #66206 - PotHix:master, r=estebank
authorbors <bors@rust-lang.org>
Tue, 19 Nov 2019 07:49:54 +0000 (07:49 +0000)
committerbors <bors@rust-lang.org>
Tue, 19 Nov 2019 07:49:54 +0000 (07:49 +0000)
commit2cad8bb659066b42fc518c95def384956126bd3f
tree6e4528f58f0e26bd7c8346df3ecfb80de4b1eb1c
parentd1da8023dafd3e277b5a4c5475aa2cb199a176b9
parent3fa8692a5e5f69133464dabb52f549a46529ffe6
Auto merge of #66206 - PotHix:master, r=estebank

Suggest `#[repr(C)]` instead of `#[repr(C, packed, ...)]`

The code was previously suggesting `#[repr(C, packed, ...)]` for incorrect uses of `repr` (e.g. `#[repr = "C"]`). This change suggests the usage of `#[repr(C)]` instead.

r? @estebank

Ref: #61286.
src/libsyntax/feature_gate/builtin_attrs.rs