Skip to content

Commit

Permalink
Fix dead_code warning and improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Oct 25, 2024
1 parent 50a0544 commit ab4707e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/src/to_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl<'a> ToTokens for Scoped<'a, Sign> {
impl<'a, 'b: 'a> ToTokens for Scoped<'a, Count<'b>> {
fn to_tokens(&self, tokens: &mut TokenStream) {
match self.as_ref() {
Count::Parameter(_) => todo!(),
Count::Parameter(_value) => todo!("parameter reference counts are not yet supported"),
Count::Integer(value) => quote!(&#value).to_tokens(tokens),
}
}
Expand Down

0 comments on commit ab4707e

Please sign in to comment.