viewpoint-js 0.4.3

Compile-time validated JavaScript macro for Viewpoint
Documentation
1
2
3
4
5
6
7
error: Invalid JavaScript syntax: line 1, col 5: Error { error: (5..8, Unexpected { got: "let", expected: "let is reserved in const, let, class declaration" }) }
 --> tests/ui/invalid_js.rs:5:17
  |
5 |     let _code = js! { let let x = 1 };
  |                 ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `js` (in Nightly builds, run with -Z macro-backtrace for more info)