rust/tests/ui/rfcs/rfc-2294-if-let-guard
Matthew Jasper d437a111f5 Give temporaries in if let guards correct scopes
- Make temporaries in if-let guards be the same variable in MIR when
  the guard is duplicated due to or-patterns.
- Change the "destruction scope" for match arms to be the arm scope rather
  than the arm body scope.
- Add tests.
2023-12-21 13:35:56 +00:00
..
bindings.rs
bindings.stderr
const-expr.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
drop-order.rs Give temporaries in if let guards correct scopes 2023-12-21 13:35:56 +00:00
exhaustive.rs
exhaustive.stderr
feature-gate.rs Reduce double errors for invalid let expressions 2023-09-11 16:17:06 +00:00
feature-gate.stderr Address review comments 2023-09-13 15:00:31 +00:00
guard-lifetime-1.rs
guard-lifetime-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
guard-lifetime-2.rs
guard-mutability-1.rs
guard-mutability-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
guard-mutability-2.rs
guard-mutability-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
loop-mutability.rs Give temporaries in if let guards correct scopes 2023-12-21 13:35:56 +00:00
macro-expanded.rs
macro-expanded.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
move-guard-if-let-chain.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
move-guard-if-let-chain.stderr Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
move-guard-if-let.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
parens.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
parens.stderr Address review comments 2023-09-13 15:00:31 +00:00
partially-macro-expanded.rs
run-pass.rs
scoping-consistency-async.rs Give temporaries in if let guards correct scopes 2023-12-21 13:35:56 +00:00
scoping-consistency.rs Give temporaries in if let guards correct scopes 2023-12-21 13:35:56 +00:00
shadowing.rs
type-inference.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
typeck.rs
typeck.stderr
warns.rs
warns.stderr