diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-05-31 10:17:51 -0400 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2018-06-03 12:04:21 +0200 |
| commit | d2902174b593000ede7100c928c6a280befc5213 (patch) | |
| tree | d81588a540623a0b414b4a523733d3be072822bf /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 561310c4bb88eeef618d3040b3e4a9f1abfc663c (diff) | |
| download | rust-d2902174b593000ede7100c928c6a280befc5213.tar.gz rust-d2902174b593000ede7100c928c6a280befc5213.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/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
