about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authordianne <diannes.gm@gmail.com>2024-12-04 03:19:03 -0800
committerdianne <diannes.gm@gmail.com>2025-01-06 16:08:29 -0800
commitac922245f0c86657a56d3ca5eff4a1d1b1fcb0a1 (patch)
treeb5ce8e5455bb583c9a63d40311f29061229638db /tests/codegen/patchable-function-entry
parent2249232ad8886089221fbd68016dbee0ee2484bc (diff)
downloadrust-ac922245f0c86657a56d3ca5eff4a1d1b1fcb0a1.tar.gz
rust-ac922245f0c86657a56d3ca5eff4a1d1b1fcb0a1.zip
`best_blame_constraint`: don't filter constraints by sup SCC
The SCCs of the region graph are not a reliable heuristic to use for blaming an interesting
constraint for diagnostics. For region errors, if the outlived region is `'static`, or the involved
types are invariant in their lifetiems, there will be cycles in the constraint graph containing both
the target region and the most interesting constraints to blame. To get better diagnostics in these
cases, this commit removes that heuristic.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions