diff options
| author | LegionMammal978 <mattlloydhouse@gmail.com> | 2024-01-16 14:58:42 -0500 |
|---|---|---|
| committer | LegionMammal978 <mattlloydhouse@gmail.com> | 2024-01-16 14:58:42 -0500 |
| commit | bc3fb5245a248070b76e535be4f342e2be12a9b5 (patch) | |
| tree | 76224c2f7a7576ca7b18c0a634acce07652d7caa /src/etc/natvis | |
| parent | e64f8495e73fbc3653b4bcb73268c58b9c4a0a0d (diff) | |
| download | rust-bc3fb5245a248070b76e535be4f342e2be12a9b5.tar.gz rust-bc3fb5245a248070b76e535be4f342e2be12a9b5.zip | |
Rename `pointer` field on `Pin`
The internal, unstable field of `Pin` can conflict with fields from the inner type accessed via the `Deref` impl. Rename it from `pointer` to `__pointer`, to make it less likely to conflict with anything else.
Diffstat (limited to 'src/etc/natvis')
| -rw-r--r-- | src/etc/natvis/libcore.natvis | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/natvis/libcore.natvis b/src/etc/natvis/libcore.natvis index 624d8cc5cc5..f8569ef2594 100644 --- a/src/etc/natvis/libcore.natvis +++ b/src/etc/natvis/libcore.natvis @@ -99,9 +99,9 @@ </Type> <Type Name="core::pin::Pin<*>"> - <DisplayString>Pin({(void*)pointer}: {pointer})</DisplayString> + <DisplayString>Pin({(void*)__pointer}: {__pointer})</DisplayString> <Expand> - <ExpandedItem>pointer</ExpandedItem> + <ExpandedItem>__pointer</ExpandedItem> </Expand> </Type> |
