diff options
| author | bors <bors@rust-lang.org> | 2023-03-01 23:34:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-01 23:34:37 +0000 |
| commit | 0b4ba4cf0ed52bb4f1ff9436b9a887fd5f049e6b (patch) | |
| tree | 638e6a20a40832bb6f9bab1086b225a6ab44111b /tests/ui/invalid/invalid-debugger-visualizer-target.rs | |
| parent | f77bfb7336f21bfe6a5fb5f7358d4406e2597289 (diff) | |
| parent | 44eec1d9b0eaf7375994fff39b1150539f215f1a (diff) | |
| download | rust-0b4ba4cf0ed52bb4f1ff9436b9a887fd5f049e6b.tar.gz rust-0b4ba4cf0ed52bb4f1ff9436b9a887fd5f049e6b.zip | |
Auto merge of #108483 - scottmcm:unify-bytewise-eq-traits, r=the8472
Merge two different equality specialization traits in `core` Arrays and slices each had their own version of this, without a matching set of `impl`s. Merge them into one (still-`pub(crate)`) `cmp::BytewiseEq` trait, so we can stop doing all these things twice. And that means that the `[T]::eq` → `memcmp` specialization picks up a bunch of types where that previously only worked for arrays, so examples like <https://rust.godbolt.org/z/KjsG8MGGT> will use it now instead of emitting loops. r? the8472
Diffstat (limited to 'tests/ui/invalid/invalid-debugger-visualizer-target.rs')
0 files changed, 0 insertions, 0 deletions
