Expand format_args!() in rust_ast_lowering.
This commit is contained in:
@@ -2108,6 +2108,8 @@ pub enum MatchSource {
|
||||
TryDesugar,
|
||||
/// A desugared `<expr>.await`.
|
||||
AwaitDesugar,
|
||||
/// A desugared `format_args!()`.
|
||||
FormatArgs,
|
||||
}
|
||||
|
||||
impl MatchSource {
|
||||
@@ -2119,6 +2121,7 @@ impl MatchSource {
|
||||
ForLoopDesugar => "for",
|
||||
TryDesugar => "?",
|
||||
AwaitDesugar => ".await",
|
||||
FormatArgs => "format_args!()",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user