diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-26 19:19:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-26 19:19:19 +0200 |
| commit | 4d4a3691e94588dc1539487cb62fe7a7cbe40bcb (patch) | |
| tree | 009004758cb2bd007cff153dc0e174bffcb188f8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | e1d7dec558d863fb76f98453088b36cb1a926d48 (diff) | |
| parent | 28e0c5aec8335d34cd84f3970d633860d6bd08a9 (diff) | |
| download | rust-4d4a3691e94588dc1539487cb62fe7a7cbe40bcb.tar.gz rust-4d4a3691e94588dc1539487cb62fe7a7cbe40bcb.zip | |
Rollup merge of #101875 - fmease:allow-more-negative-copy-impls, r=lcnr
Allow more `!Copy` impls You can already implement `!Copy` for a lot of types (with `#![feature(negative_impls)]`). However, before this PR you could not implement `!Copy` for ADTs whose fields don't implement `Copy` which didn't make any sense. Further, you couldn't implement `!Copy` for types impl'ing `Drop` (equally nonsensical). ``@rustbot`` label T-types F-negative_impls Fixes #101836. r? types
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
