don't suggest placing `use` statements into expanded code r? @nrc fixes #44210 ```rust #[derive(Debug)] struct Foo; type X = Path; ``` will try to place `use std::path::Path;` between `#[derive(Debug)]` and `struct Foo;` I am not sure how to obtain a span before the first attribute, because derive attributes are removed during expansion. It would be trivial to detect this case and place the `use` after the item, but that would be somewhat weird I think. |
||
|---|---|---|
| .. | ||
| build_reduced_graph.rs | ||
| Cargo.toml | ||
| check_unused.rs | ||
| diagnostics.rs | ||
| lib.rs | ||
| macros.rs | ||
| resolve_imports.rs | ||