]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_builtin_macros/src/deriving/bounds.rs
Rollup merge of #102300 - scottmcm:simpler-fold-closures, r=Mark-Simulacrum
[rust.git] / compiler / rustc_builtin_macros / src / deriving / bounds.rs
index 77e0b6c55a80e5a03ee4afa671ed641c7a82f858..7bd344467d03213130aa32ae46fad4f47875d853 100644 (file)
@@ -16,6 +16,7 @@ pub fn expand_deriving_copy(
     let trait_def = TraitDef {
         span,
         path: path_std!(marker::Copy),
+        skip_path_as_bound: false,
         additional_bounds: Vec::new(),
         generics: Bounds::empty(),
         supports_unions: true,