proxmox/proxmox-api-macro
Wolfgang Bumiller 080f62916e macro: errors shouldn't discard the code
Otherwise we'll get even more errors.
Consider this example:

    #[api(...)]
    struct Foo { ... }
    impl MyTrait for Foo { ... }

If the #[api] macro fails and does not at least produce the
`struct Foo{}` along with its `compile_error!()` output,
then in addition to our macro errors, we'll see errors about
trying to implement `MyTrait` for an unknown thing called
`Foo`.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-08 14:04:28 +02:00
..
src macro: errors shouldn't discard the code 2019-08-08 14:04:28 +02:00
tests macro: derive ser/de for newtypes just like structs 2019-08-08 11:29:12 +02:00
Cargo.toml fix missing proxmox_api -> proxmox::api replacement 2019-06-12 09:48:30 +02:00