Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh3Rm4n committed Dec 1, 2020
1 parent 8778ebc commit 6391b3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/defmt-test/macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ fn tests_impl(args: TokenStream, input: TokenStream) -> parse::Result<TokenStrea
_ => {
return Err(parse::Error::new(
item.span(),
// TODO Make error message generic over Item
"only function items are allowed",
));
}
Expand Down

0 comments on commit 6391b3f

Please sign in to comment.