diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-16 17:51:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 17:51:24 +0100 |
| commit | 04128982ffbf2609a94fa6b7786fe98c85c6b113 (patch) | |
| tree | 5140daf1fd6a95f757ac3ffbf5921fe101215081 /compiler/rustc_codegen_llvm/src | |
| parent | f65c6e416c6f401c332149da8f8ad1d7b8a218a7 (diff) | |
| parent | 374f798ad2f10280f75a3561f2dc9449ccb5e5fe (diff) | |
| download | rust-04128982ffbf2609a94fa6b7786fe98c85c6b113.tar.gz rust-04128982ffbf2609a94fa6b7786fe98c85c6b113.zip | |
Rollup merge of #108057 - GuillaumeGomez:fix-reexport-attr-merge, r=notriddle
Prevent some attributes from being merged with others on reexports Final fix for https://github.com/rust-lang/rust/issues/59368. As discussed on zulip [here](https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Filtering.20sub.20attributes.20in.20ast.3A.3AAttribute), we need to clone the `Attribute` to be able to filter some parts of it. Then we need to go through the attributes to able to only keep what we want (everything except a few attributes in short). As for the second commit, when I wrote the test, I realized that the code to traverse all reexports one by one to collect all their attributes was not completely working so I fixed the few issues remaining. r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
