-
**Problem**
On docs.rs, we've run into an issue (https://github.com/rust-lang/docs.rs/issues/422) where proc-macros were not correctly being documented because of being passed an explicit `…
-
```rust
// color-eyre = "0.5.11"
fn main() {
eyre!();
}
```
In this code snippet, rust-analyzer correctly shows the "unresolved macro `eyre!`" error. The code action suggests to import/q…
-
### Summary
When writing macros which expand to boolean expressions, it is sometimes best to write a nonminimal expression.
For example, in [an MR in Arti](https://gitlab.torproject.org/tpo/core/a…
-
## Environment
* **IntelliJ Rust plugin version:** 0.4.194.5382-231
* **Rust toolchain version:** 1.69.0 (84c898d65 2023-04-16) x86_64-apple-darwin
* **IDE name and version:** WebStorm 2023.1…
-
We introduced the macros because we had so much duplicate code that every change had to be done in loads of places (each of the individual hash modules). This was a win, however we now have a two diff…
-
## vmm-serde
## Short Description
Build serde infrastructure to support snapshot, live migration and live upgrade
## Why is this crate relevant to the rust-vmm project?
A common requirement fo…
-
This is based on my own rustfmt.toml I usually use. I tend to set these for the following reasons:
imports_granularity = "Crate" # this combines a bunch of lines at the top, but it doesnt match …
-
I think build.rs and procedural macros should be able to take advantage of std-aware cargo too. This is needed to get rid of the sysroot as a concept entirely. This is also needed to boostrap a workin…
-
## Environment
* **IntelliJ Rust plugin version:** 0.4.182.4947-223-nightly
* **Rust toolchain version:** 1.66.0-nightly (06f049a35 2022-10-17) x86_64-apple-darwin
* **IDE name and version:** CLi…
-
### Use case
* Sometimes we can't always perform hard deletions in production.
* This is what most ORMs do
### The Ideal way
* Respect the `deleted_at` column (`pub deleted_at: Option`)
* …