diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-05-31 10:17:51 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-05-31 10:17:51 -0400 |
| commit | 8a624b737a772ecc6840870bbf895950602b2920 (patch) | |
| tree | ac778ddc920a75d3fefbc1b44550a959df5a3fbc /src/rustllvm/PassWrapper.cpp | |
| parent | 5d0631a6438cf30cac236b7176371663e35c8d07 (diff) | |
| download | rust-8a624b737a772ecc6840870bbf895950602b2920.tar.gz rust-8a624b737a772ecc6840870bbf895950602b2920.zip | |
change `PointerKind::Implicit` to a note
`PointerKind` is included in `LoanPath` and hence forms part of the equality check; this led to having two unequal paths that both represent `*x`, depending on whether the `*` was inserted automatically or explicitly. Bad mojo. The `note` field, in contrast, is intended more-or-less primarily for this purpose of adding extra data.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
