Yacin Tmimi

Results 716 comments of Yacin Tmimi

That's all very helpful info!

Thanks for the report. Linking the tracking issue for `ignore` #3395. You mentioned that you're using `rustfmt 1.7.0-dev (27eb5e46111 2024-05-14)`. Any chance that a more recent nightly version fixes this...

Thanks for the report! Confirming that I can reproduce this when using `space_after_colon=false` with rustfmt 1.8.0-nightly (054efddd0f 2025-02-07)

This is an issue anywhere that `space_after_colon` applies. For example: **Input**: ```rust const THING: ::some_crate::SomeType = ::some_crate::SomeType::default(); fn main() { let x: ::some_crate::SomeType = ::some_crate::SomeType::default(); } ``` **Output**: ```rust const...

@0xSaksham Thanks for your interest in working on this. You can assign yourself by commenting `@rustbot claim`. I'd encourage you to read the [Issue claiming section of the rustc dev...

Confirming that I can reproduce this with rustfmt 1.8.0-nightly (fd0ea742f8 2025-04-12). required configs to trigger the issue: ``` use_small_heuristics = "Max" style_edition = 2024 ``` ### Style Edition 2024 formatting:...

The thought crossed my mind. though I think the caveats in our stability guarantee cover us here. I think either the note about comments or bugs would apply. [To quote...

rustfmt typically doesn't play nicely with generated code. There are other closed issues, but you can check out #5422 as an example. > I'm not sure why the long line...

Thanks for the report! Confirming I can reproduce this with `rustfmt 1.5.2-nightly (34f9ca28 2023-02-16)`. The issue is that rustfmt isn't expecting to find comments in that location and doesn't try...

Until this is resolved your best option might be to use `#[rustfmt::skip]` to prevent rustfmt from performing any rewriting. ```rust #[rustfmt::skip] pub enum JmpCondition { Overflow = 0b0000, NoOverflow =...