diff options
| author | bors <bors@rust-lang.org> | 2020-09-09 00:08:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-09 00:08:13 +0000 |
| commit | 90782cb50ba6d1f2ea97cf74a3b06eca6bef8b59 (patch) | |
| tree | 8c6c6063d8b622a8bc8078688bfc4c8137c9c33a /src/etc | |
| parent | 5099914a16a215794ad243df0cc7a05d91d168e0 (diff) | |
| parent | 389321a41e61666fd68982570983c3061ab3047e (diff) | |
| download | rust-90782cb50ba6d1f2ea97cf74a3b06eca6bef8b59.tar.gz rust-90782cb50ba6d1f2ea97cf74a3b06eca6bef8b59.zip | |
Auto merge of #76502 - Dylan-DPC:rollup-2c4zz0t, r=Dylan-DPC
Rollup of 10 pull requests Successful merges: - #76162 (Make duration_since documentation more clear) - #76355 (remove public visibility previously needed for rustfmt) - #76374 (Improve ayu doc source line number contrast) - #76379 (rustbuild: Remove `Mode::Codegen`) - #76389 (Fix HashMap visualizers in Visual Studio (Code)) - #76396 (Fix typo in tracking issue template) - #76401 (Add help note to unconstrained const parameter) - #76402 (Update linker-plugin-lto.md to contain up to rust 1.46) - #76403 (Fix documentation for TyCtxt::all_impls) - #76498 (Update cargo) Failed merges: - #76458 (Add drain_filter method to HashMap and HashSet) r? `@ghost`
Diffstat (limited to 'src/etc')
| -rw-r--r-- | src/etc/natvis/libstd.natvis | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/natvis/libstd.natvis b/src/etc/natvis/libstd.natvis index 4e81173d3d0..f791979800f 100644 --- a/src/etc/natvis/libstd.natvis +++ b/src/etc/natvis/libstd.natvis @@ -41,7 +41,7 @@ <If Condition="(base.table.ctrl.pointer[i] & 0x80) == 0"> <!-- Bucket is populated --> <Exec>n--</Exec> - <Item Name="{static_cast<tuple<$T1, $T2>*>(base.table.ctrl.pointer)[-(i + 1)].__0}">static_cast<tuple<$T1, $T2>*>(base.table.ctrl.pointer)[-(i + 1)].__1</Item> + <Item Name="{((tuple<$T1, $T2>*)base.table.ctrl.pointer)[-(i + 1)].__0}">((tuple<$T1, $T2>*)base.table.ctrl.pointer)[-(i + 1)].__1</Item> </If> <Exec>i++</Exec> </Loop> @@ -65,7 +65,7 @@ <If Condition="(map.base.table.ctrl.pointer[i] & 0x80) == 0"> <!-- Bucket is populated --> <Exec>n--</Exec> - <Item>static_cast<$T1*>(map.base.table.ctrl.pointer)[-(i + 1)]</Item> + <Item>(($T1*)map.base.table.ctrl.pointer)[-(i + 1)]</Item> </If> <Exec>i++</Exec> </Loop> |
