about summary refs log tree commit diff
path: root/tests/ui/for-loop-while/while-loop-constraints-2.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-07 18:26:27 +0100
committerGitHub <noreply@github.com>2025-02-07 18:26:27 +0100
commit20f9e973d9ecf3cbd76431789ef7a3bc4f7367a0 (patch)
tree2bad81c62944a75df78f902f4a6995e02f9d2cba /tests/ui/for-loop-while/while-loop-constraints-2.rs
parent26b288760e35aeff842c2c871bb3bd19d070c808 (diff)
parentf1e4d94fa4bd253c26610e8d79d5da8b52bad99f (diff)
downloadrust-20f9e973d9ecf3cbd76431789ef7a3bc4f7367a0.tar.gz
rust-20f9e973d9ecf3cbd76431789ef7a3bc4f7367a0.zip
Rollup merge of #136577 - dianne:simple-pat-migration-simplification, r=Nadrieril
Pattern Migration 2024: try to suggest eliding redundant binding modifiers

This is based on #136475. Only the last commit is new.

This is a simpler, more restrictive alternative to #136496, meant to partially address #136047. If a pattern can be migrated to Rust 2024 solely by removing redundant binding modifiers, this will make that suggestion; otherwise, it uses the old suggestion of making the pattern fully explicit.

Relevant tracking issue: #131414

``@rustbot`` label A-diagnostics A-patterns A-edition-2024

r? ``@Nadrieril``
Diffstat (limited to 'tests/ui/for-loop-while/while-loop-constraints-2.rs')
0 files changed, 0 insertions, 0 deletions