Skip to content

Commit

Permalink
Silenced a few warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamschi committed Feb 1, 2021
1 parent 890a368 commit bf90d1f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions proc-macro-definitions/src/part/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,14 @@ impl<C: Configuration> PartBody<C> {
}
}
PartBody::Html(html_definition) => html_definition.part_tokens(cx)?,
PartBody::If(InitMode::Dyn(dyn_), if_, condition, then_part, else_, else_part) => {
PartBody::If(
InitMode::Dyn(_dyn_),
_if_,
_condition,
_then_part,
_else_,
_else_part,
) => {
todo!("`dyn if`")
}
PartBody::If(
Expand All @@ -411,7 +418,7 @@ impl<C: Configuration> PartBody<C> {
#else_tokens
}}
}
PartBody::Match(InitMode::Dyn(dyn_), match_, on, bracket, arms) => {
PartBody::Match(InitMode::Dyn(_dyn_), _match_, _on, _bracket, _arms) => {
todo!("`dyn match`")
}
PartBody::Match(InitMode::Spread(_spread), match_, on, bracket, arms) => {
Expand Down

0 comments on commit bf90d1f

Please sign in to comment.