Group logic about the Providers struct.
This commit is contained in:
parent
8599bff5a3
commit
7794fbb478
1 changed files with 5 additions and 5 deletions
|
@ -529,11 +529,6 @@ macro_rules! define_queries {
|
|||
tcx: $tcx,
|
||||
input: ($(([$($modifiers)*] [$name] [$($K)*] [$V]))*)
|
||||
}
|
||||
|
||||
impl Copy for Providers {}
|
||||
impl Clone for Providers {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -609,5 +604,10 @@ macro_rules! define_provider_struct {
|
|||
Providers { $($name),* }
|
||||
}
|
||||
}
|
||||
|
||||
impl Copy for Providers {}
|
||||
impl Clone for Providers {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue