Expand format_args!() in rust_ast_lowering.
This commit is contained in:
parent
e83945150f
commit
a4dbcb525b
19 changed files with 535 additions and 384 deletions
|
@ -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!()",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue