-
# Writing Python inside your Rust code — Part 1A - Mara's Blog
Before continuing to extend our python!{} macro in part 2, let’s explore some things in more detail first.
[https://blog.m-ou.se…
-
Similar to the JavaScript implementations, I am thinking we should have a way to parse schema strings to rust types.
Similar to https://github.com/maciejhirsz/json-rust, I would also like the ability…
-
**EDIT** You can work around this bug by putting the tokens `{ }` after the empty variant.
I have the following code (also on [play.rust-lang.org])
```rust
extern crate serde; // 1.0.75
#[macr…
-
### Input C/C++ Header
```C++
#define CK_INVALID_HANDLE (0UL)
```
### Bindgen Invocation
```Rust
bindgen::Builder::default()
.header("input.h")
.generate()
.expect("Unab…
-
```
shop:rust-event NathanTrujillo$ cargo build
Compiling event v0.2.2 (file:///Users/NathanTrujillo/Documents/gits/rust-event)
error: macro undefined: 'scoped_thread_local!'
--> src/lib.rs:34:1
…
-
[This instance of `derive(proptest_derive::Arbitrary)`](https://github.com/HadrienG2/crofiler/blob/d364d53130e25283ece803b4a6f8829ab01f68a0/cmakeperf/src/commands.rs#L147) will result in the following…
-
Hi,
I'm wondering if there's any timeline for this project to be integrated into the upstream Rust compiler? As I understand it, the Rust compiler needs to be modified somewhat to emit the informat…
-
Implement as a macro?
https://doc.rust-lang.org/book/ch19-06-macros.html
https://users.rust-lang.org/t/deriving-external-traits-on-external-structs/18198/10
https://serde.rs/remote-derive.html
h…
-
## Environment
* **IntelliJ Rust plugin version:** 0.4.185.5086-222
* **Rust toolchain version:** 1.69.0-nightly (d962ea578 2023-02-26) x86_64-apple-darwin
* **IDE name and version:** IntelliJ ID…
-
With warnings in particular (but potentially also with errors), it may be preferable to emit a diagnostic *then continue generating macro output*.
Until we get better support for proc-macro errors …