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 /compiler/rustc_ast_pretty/src | |
| parent | c9365dd09f30ff2df8fd335e80b82202ba9f8a85 (diff) | |
| download | rust-4a8773a3afce505ee861ba342ff9217caf9dfee8.tar.gz rust-4a8773a3afce505ee861ba342ff9217caf9dfee8.zip  | |
Rename PatKind::Lit to Expr
Diffstat (limited to 'compiler/rustc_ast_pretty/src')
| -rw-r--r-- | compiler/rustc_ast_pretty/src/pprust/state.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_pretty/src/pprust/state.rs b/compiler/rustc_ast_pretty/src/pprust/state.rs index 172df102929..9b958ed6b0d 100644 --- a/compiler/rustc_ast_pretty/src/pprust/state.rs +++ b/compiler/rustc_ast_pretty/src/pprust/state.rs @@ -1701,7 +1701,7 @@ impl<'a> State<'a> { self.print_pat(inner); } } - PatKind::Lit(e) => self.print_expr(e, FixupContext::default()), + PatKind::Expr(e) => self.print_expr(e, FixupContext::default()), PatKind::Range(begin, end, Spanned { node: end_kind, .. }) => { if let Some(e) = begin { self.print_expr(e, FixupContext::default());  | 
