summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-05-31 10:17:51 -0400
committerPietro Albini <pietro@pietroalbini.org>2018-06-03 12:04:21 +0200
commitd2902174b593000ede7100c928c6a280befc5213 (patch)
treed81588a540623a0b414b4a523733d3be072822bf /src/test/codegen/stack-alloc-string-slice.cc
parent561310c4bb88eeef618d3040b3e4a9f1abfc663c (diff)
downloadrust-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