]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_middle/ty/util.rs
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / src / librustc_middle / ty / util.rs
index 3e5eaca5417f7e622bd8daaacfdcbbc2400daca0..5c5fe9dbd7abfaf7bbe9ad4c70502d04bb8e855f 100644 (file)
@@ -1143,7 +1143,7 @@ pub fn needs_drop_components(
     }
 }
 
-#[derive(Copy, Clone, Debug, HashStable, RustcEncodable, RustcDecodable)]
+#[derive(Copy, Clone, Debug, HashStable, TyEncodable, TyDecodable)]
 pub struct AlwaysRequiresDrop;
 
 /// Normalizes all opaque types in the given value, replacing them