rust/tests/ui/pattern/deref-patterns
Ralf Jung 5e65109f21 add write_box_via_move intrinsic and use it for vec!
This allows us to get rid of box_new entirely
2026-02-16 17:27:40 +01:00
..
usefulness In rustc_pattern_analysis, put true witnesses before false witnesses 2025-07-28 02:01:39 +03:00
basic.rs Remove feature(string_deref_patterns) 2025-12-31 14:21:38 +11:00
basic.run.stdout Remove feature(string_deref_patterns) 2025-12-31 14:21:38 +11:00
bindings.rs let deref patterns participate in usefulness/exhaustiveness 2025-05-06 18:53:55 -07:00
branch.rs pattern typing for immutable implicit deref patterns 2025-04-16 14:42:56 -07:00
byte-string-type-errors.rs always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
byte-string-type-errors.stderr always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
cant_move_out_of_pattern.rs move existing tests away from using boxes 2025-04-24 14:25:27 -07:00
cant_move_out_of_pattern.stderr move existing tests away from using boxes 2025-04-24 14:25:27 -07:00
closure_capture.rs let deref patterns participate in usefulness/exhaustiveness 2025-05-06 18:53:55 -07:00
const-pats-do-not-mislead-inference.rs always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
const-pats-do-not-mislead-inference.stable.stderr always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
default-infer.rs Remove feature(string_deref_patterns) 2025-12-31 14:21:38 +11:00
deref-box.rs let deref patterns participate in usefulness/exhaustiveness 2025-05-06 18:53:55 -07:00
dont-ice-on-slice-in-deref-pat-in-closure.rs EUV: fix place of deref pattern's interior's scrutinee 2025-03-13 01:01:26 -07:00
fake_borrows.rs move existing tests away from using boxes 2025-04-24 14:25:27 -07:00
fake_borrows.stderr move existing tests away from using boxes 2025-04-24 14:25:27 -07:00
ice-adjust-mode-unimplemented-for-constblock.rs add write_box_via_move intrinsic and use it for vec! 2026-02-16 17:27:40 +01:00
ice-adjust-mode-unimplemented-for-constblock.stderr add write_box_via_move intrinsic and use it for vec! 2026-02-16 17:27:40 +01:00
implicit-const-deref.rs don't peel ADTs the pattern could match 2025-04-16 15:42:12 -07:00
implicit-const-deref.stderr fix: Add col separator before secondary messages with no source 2025-08-26 15:15:17 -06:00
implicit-cow-deref.rs let deref patterns participate in usefulness/exhaustiveness 2025-05-06 18:53:55 -07:00
needs-gate.rs always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
needs-gate.stderr always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
recursion-limit.rs respect the tcx's recursion limit when peeling 2025-04-16 15:42:12 -07:00
recursion-limit.stderr On unmet trait bound, mention if trait is unstable 2026-01-13 01:16:58 +00:00
ref-mut.rs register DerefMut bounds for implicit mutable derefs 2025-04-16 14:42:56 -07:00
ref-mut.stderr register DerefMut bounds for implicit mutable derefs 2025-04-16 14:42:56 -07:00
refs.rs Remove feature(string_deref_patterns) 2025-12-31 14:21:38 +11:00
strings.rs always peel &mut, to allow matching on &mut str 2025-05-05 04:29:33 -07:00
typeck.rs pattern typing for immutable implicit deref patterns 2025-04-16 14:42:56 -07:00
typeck_fail.rs match ergonomics for string and byte string literal patterns 2025-05-05 04:10:49 -07:00
typeck_fail.stderr match ergonomics for string and byte string literal patterns 2025-05-05 04:10:49 -07:00
unsatisfied-bounds.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
unsatisfied-bounds.stderr On unmet trait bound, mention if trait is unstable 2026-01-13 01:16:58 +00:00