-
**rust-analyzer version**: `rust-analyzer version: 0.3.2096-standalone`
**rustc version**: (eg. output of `rustc -V`)
**editor or extension**: VSCode extension `v0.3.2096`
**repository link (…
-
## 🚀 Feature: Macros for simpler use
**Description**
Implement useful macros for this library.
**Proposed Solution**
Learn how macros work, and implement useful macros.
Here are some ideas f…
-
Ideally CI would verify that the macros output valid Rust code. Compiling the crate itself is not as helpful because it does not tell us if the macro expansion is valid Rust.
Note that this ideal m…
-
[Procedural Macros in Rust – A Handbook for Beginners](https://www.freecodecamp.org/news/procedural-macros-in-rust/)
-
## Reproduction Requirements
I could trigger this on macOS only. Install:
```shell
$ brew install bazelisk postgresql@14 pkg-config
```
Then clone:
```shell
$ git clone https://github.c…
-
macro.rs:
```rust
extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_attribute]
pub fn your_macro(_attr: TokenStream, item: TokenStream) -> TokenStream {
// Macro implementation
…
-
There are several ways to cause a breaking change by changing macro item definitions that we can lint for today:
- [x] removing a declarative macro that used to exist (#966)
- [ ] removing a functio…
-
### Affected project(s)
- [ ] documentation
- [X] examples
- [ ] wasmCloud host
- [ ] wasmCloud CLI (wash)
- [ ] wasmCloud dashboard UI (washboard)
- [ ] capability providers
- [ ] provider bindgen
-…
-
https://veykril.github.io/tlborm/
For the latest Rust episode.
-
According to #921 and [this test](https://github.com/lalrpop/lalrpop/blob/d700700a5c32d31871067111b51ae86ed2a479b7/lalrpop/src/normalize/macro_expand/test.rs#L62-L73), lalrpop supports guards in macro…