dtolnay / watt

Runtime for executing procedural macros as WebAssembly
Apache License 2.0
1.29k stars 28 forks source link

Warnings on unnecessary trailing semicolon in fnimpl macros #12

Closed dtolnay closed 5 years ago

dtolnay commented 5 years ago
$ cargo check
warning: unnecessary trailing semicolon
   --> src/../runtime/src/func.rs:73:11
    |
73  |         $a;
    |           ^ help: remove this semicolon
...
102 | fnimpl!(WasmFunc1 A);
    | --------------------- in this macro invocation
    |
    = note: `#[warn(redundant_semicolon)]` on by default
dtolnay commented 5 years ago

This macro was removed by https://github.com/dtolnay/watt/commit/4275789c43f444a9d1e9a0b2780007efa9062161.