about summary refs log tree commit diff
path: root/tests/ui/pattern/deref-patterns/bindings.rs
AgeCommit message (Collapse)AuthorLines
2025-05-06let deref patterns participate in usefulness/exhaustivenessdianne-2/+0
This does not yet handle the case of mixed deref patterns with normal constructors; it'll ICE in `Constructor::is_covered_by`. That'll be fixed in a later commit.
2025-04-24move existing tests away from using boxesdianne-10/+12
Since deref patterns on boxes will be lowered differently, I'll be making a separate test file for them. This makes sure we're still testing the generic `Deref(Mut)::deref(_mut)`-based lowering.
2025-04-16register `DerefMut` bounds for implicit mutable derefsdianne-0/+28
2025-04-16pattern typing for immutable implicit deref patternsdianne-0/+27
2024-04-20Test or-patterns inside deref patternsNadrieril-1/+13
2024-04-20Allow mutable bindings inside deref patternsNadrieril-0/+15
2024-04-20Don't fake borrow inside a deref patternNadrieril-2/+2
2024-04-20Lower deref patterns to MIRNadrieril-0/+37
This handles using deref patterns to choose the correct match arm. This does not handle bindings or guards. Co-authored-by: Deadbeef <ent3rm4n@gmail.com>