about summary refs log tree commit diff
path: root/tests/ui/recursion/recursive-static-definition.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-27 15:04:56 +0200
committerGitHub <noreply@github.com>2025-06-27 15:04:56 +0200
commit8e5fd99b33fb60e96f7c7420c39e95d9807b498e (patch)
tree1fb6e54500f9b8cc7846d07282ec62b78f1e37b7 /tests/ui/recursion/recursive-static-definition.rs
parent8256a75fffc1a744d3e7771b763fab9b04493f1a (diff)
parentd1f313649ce215c9b0442354ec6aa03384d7101c (diff)
downloadrust-8e5fd99b33fb60e96f7c7420c39e95d9807b498e.tar.gz
rust-8e5fd99b33fb60e96f7c7420c39e95d9807b498e.zip
Rollup merge of #143060 - xizheyin:simplify-diag, r=oli-obk
Only args in main diag are saved and restored without removing the newly added ones

cc rust-lang/rust#142724

Here's a more simplified approach, since we'll be storing and restoring the main diagnostic's arg, removing args newly added isn't needed in the derive subdiagnostic implementation. `remove_arg` is helpful only for manual implementation of subdiagnostic.

r? ``@oli-obk``
Diffstat (limited to 'tests/ui/recursion/recursive-static-definition.rs')
0 files changed, 0 insertions, 0 deletions