diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-01-07 08:56:23 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-01-08 07:34:59 +0000 |
| commit | 4a8773a3afce505ee861ba342ff9217caf9dfee8 (patch) | |
| tree | 1a951f37b9e2b7222d28c2a5f7a4d7d3a7f9abd9 /tests/ui/pattern | |
| parent | c9365dd09f30ff2df8fd335e80b82202ba9f8a85 (diff) | |
| download | rust-4a8773a3afce505ee861ba342ff9217caf9dfee8.tar.gz rust-4a8773a3afce505ee861ba342ff9217caf9dfee8.zip | |
Rename PatKind::Lit to Expr
Diffstat (limited to 'tests/ui/pattern')
| -rw-r--r-- | tests/ui/pattern/patkind-litrange-no-expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/pattern/patkind-litrange-no-expr.rs b/tests/ui/pattern/patkind-litrange-no-expr.rs index 7ef541cb585..14d7dc737d6 100644 --- a/tests/ui/pattern/patkind-litrange-no-expr.rs +++ b/tests/ui/pattern/patkind-litrange-no-expr.rs @@ -6,7 +6,7 @@ macro_rules! enum_number { fn foo(value: i32) -> Option<$name> { match value { - $( $value => Some($name::$variant), )* // PatKind::Lit + $( $value => Some($name::$variant), )* // PatKind::Expr $( $value ..= 42 => Some($name::$variant), )* // PatKind::Range _ => None } |
