We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8599bff commit 7794fbbCopy full SHA for 7794fbb
compiler/rustc_middle/src/ty/query/plumbing.rs
@@ -529,11 +529,6 @@ macro_rules! define_queries {
529
tcx: $tcx,
530
input: ($(([$($modifiers)*] [$name] [$($K)*] [$V]))*)
531
}
532
-
533
- impl Copy for Providers {}
534
- impl Clone for Providers {
535
- fn clone(&self) -> Self { *self }
536
- }
537
538
539
@@ -609,5 +604,10 @@ macro_rules! define_provider_struct {
609
604
Providers { $($name),* }
610
605
611
606
607
+
608
+ impl Copy for Providers {}
+ impl Clone for Providers {
+ fn clone(&self) -> Self { *self }
+ }
612
};
613
0 commit comments