Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use "target()" to parse "when" block | René Kijewski | 2021-07-30 | 2 | -0/+18 |
| | | | | | | | | | | | | `target()` as used in parsing "let" and "if let" implements parsing nested tuples and structs. But it does not implement parsing literals. The functions `match_variant()` and `with_parameters()` as used in parsing "when" blocks do not implement parsing nested structs, but it implements parsing literals. This PR combines `match_variant()` and `with_parameters()` into `target()`, so that all `{%when%}` support nested structs, too. | ||||
* | Fix expected error message for missing file | René Kijewski | 2021-07-02 | 4 | -0/+8 |
| | | | | | | | | | rust-lang/rust#82069 made error message that stem macro invocations more verbose. Since Rust 1.54 (currently in beta) the message includes the name of the offending macro. This PR uses version_check to select the appropriate expected error message. | ||||
* | Use `syn::Error::to_compile_error` and add trybuild ui test (#374) | msrd0 | 2020-11-02 | 2 | -0/+15 |