about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-08-18 13:46:52 +0200
committerRalf Jung <post@ralfj.de>2018-08-22 13:08:39 +0200
commit49999e9b1d816e1ca7365887fd42422702bc46cb (patch)
tree1b8ce51e24dbffce002926541ca0b8822cf43fac /src/test/incremental/thinlto
parent42a1239a18138db3b765d9b249b1ef83e19cccfa (diff)
downloadrust-49999e9b1d816e1ca7365887fd42422702bc46cb.tar.gz
rust-49999e9b1d816e1ca7365887fd42422702bc46cb.zip
optimize sanity check path printing
During the sanity check, we keep track of the path we are below in a `Vec`.  We
avoid cloning that `Vec` unless we hit a pointer indirection.  The `String`
representation is only computed when validation actually fails.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions