about summary refs log tree commit diff
path: root/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem0.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-09 14:52:38 +0200
committerGitHub <noreply@github.com>2025-04-09 14:52:38 +0200
commitdb7e32c07450b2aacf45db80561fc41f9c5d1d99 (patch)
tree3a79605eb2e50bfd743e31d3276b3fa2899383f5 /tests/ui/half-open-range-patterns/slice_pattern_syntax_problem0.rs
parent7494bd9a4f408b37f3a21558eea965997d6ac103 (diff)
parent253da2f22b8d67e764b72c15d2541c1ca2bc9b3d (diff)
downloadrust-db7e32c07450b2aacf45db80561fc41f9c5d1d99.tar.gz
rust-db7e32c07450b2aacf45db80561fc41f9c5d1d99.zip
Rollup merge of #139468 - compiler-errors:has_stashed_diagnostic, r=oli-obk
Don't call `Span::with_parent` on the good path in `has_stashed_diagnostic`

More unnecessary incurred span tracking avoided by not calling `span.with_parent(None)`. This is useless on its own but makes it much easier to fix other "span tracking on the good path" issues in the future.

r? oli-obk
Diffstat (limited to 'tests/ui/half-open-range-patterns/slice_pattern_syntax_problem0.rs')
0 files changed, 0 insertions, 0 deletions