Flatten red_knot_project import paths (#15616)

This commit is contained in:
Micha Reiser 2025-01-20 14:57:57 +01:00 committed by GitHub
parent f82ef32e53
commit 73798327c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 553 additions and 566 deletions

View file

@ -19,14 +19,14 @@ pub(crate) fn derive_impl(input: DeriveInput) -> syn::Result<proc_macro2::TokenS
.expect("Expected to handle named fields");
quote_spanned!(
ident.span() => crate::project::combine::Combine::combine_with(&mut self.#ident, other.#ident)
ident.span() => crate::combine::Combine::combine_with(&mut self.#ident, other.#ident)
)
})
.collect();
Ok(quote! {
#[automatically_derived]
impl crate::project::combine::Combine for #ident {
impl crate::combine::Combine for #ident {
fn combine_with(&mut self, other: Self) {
#(
#output