]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_session/utils.rs
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / src / librustc_session / utils.rs
index b97308c22cb7d0343cdc23e0efa03c360f5968fb..15447c01d1e55a5080e31c53fc84aacf6a3e8baa 100644 (file)
@@ -10,7 +10,7 @@ pub fn time<R>(&self, what: &'static str, f: impl FnOnce() -> R) -> R {
     }
 }
 
-#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)]
+#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Encodable, Decodable)]
 pub enum NativeLibKind {
     /// Static library (e.g. `libfoo.a` on Linux or `foo.lib` on Windows/MSVC) included
     /// when linking a final binary, but not when archiving an rlib.