rust-analyzer/crates/hir-expand
Chayim Refael Friedman 9c4a7705b1 Fix some things with builtin derives
1. Err on unions on derive where it's required.
 2. Err on `#[derive(Default)]` on enums without `#[default]` variant.
 3. Don't add where bounds `T: Default` when expanding `Default` on enums (structs need that, enums not).

Also, because I was annoyed by that, in minicore, add a way to filter on multiple flags in the line-filter (`// :`). This is required for the `Debug` and `Hash` derives, because the derive should be in the prelude but the trait not.
2025-07-03 23:05:56 +03:00
..
src Fix some things with builtin derives 2025-07-03 23:05:56 +03:00
Cargo.toml Don't run doctests 2025-06-23 00:50:22 +03:00