-
The big rustc format made some code I care about much less readable. Here's an example:
```diff
- ref mut local @ LocalValue::Live(Operand::Immediate(_)) |
- ref mut local @ L…
-
Start with this:
```rust
fn a() {
a!(b {
c: d,
//
..
});
}
```
Rust rustfmt, and you get this:
```rust
fn a() {
a!(b {
c: d,
//…
-
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3672#018dce90-1cda-4657-bd17-c1d293c4677b
Platform: MacOS
Logs:
```
ERROR: /Users/buildkite/builds/bk-imacpro-6/bazel-org-repo…
-
Not entirely sure on the exact rules for when this happens. So far I've worked out that, at least for the test code below on the tested version of rustfmt (1.5.1-nightly 2022-08-01 fe33428):
- It d…
-
### Summary
The `tabs_in_doc_comments` complains about tab-indented doctests.
Running `cargo doc` generates nice-looking and correctly-indented documentation when using tabs in this way, so I see no…
-
First of all, thank you for the very nice tool. This is exactly what I've thought of.
I wonder if I can run a `rustfmt` or `clippy` test with each rust code snippet. If it's not possible out of the…
-
## rust.vim version
vim-plug, current rust.vim commit `87c745d8d506fc1eecc1d81df15d5bde1658a2fc`
## Steps to reproduce:
Option (A): Specify `--edition 2018` in `g:rustfmt_options` in `.vimrc` (or…
-
This is a tracking issue for the experimental feature *generic const items* (RFC pending).
The feature gate for the issue is `#![feature(generic_const_items)]`.
It enables generic parameters and wher…
-
-
This macro:
```rust
macro_rules! test_macro {
($member:ident $($rest:tt)*) => {
paste::paste! {fn test(&self) {
(self.$member$($rest)* )
}}
};
}
```
gets wrongly refor…