summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/ub-enum.rs
AgeCommit message (Collapse)AuthorLines
2018-08-22optimize sanity check path printingRalf Jung-0/+49
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.