about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJane Losare-Lusby <jlusby@yaah.dev>2022-07-07 18:50:28 +0000
committerJane Losare-Lusby <jlusby@yaah.dev>2022-07-08 21:18:15 +0000
commit87eafe82e88074fe6e850919a84f44c5e895b71b (patch)
tree49c0713c834e5796f8b47dc2655b6809dbd72f71
parent0715616b51dd7d3254c1259420aa1461716cc56b (diff)
downloadrust-87eafe82e88074fe6e850919a84f44c5e895b71b.tar.gz
rust-87eafe82e88074fe6e850919a84f44c5e895b71b.zip
wip test
-rw-r--r--src/test/ui-fulldeps/stability-attribute/rustc-encodable-stability.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/stability-attribute/rustc-encodable-stability.rs b/src/test/ui-fulldeps/stability-attribute/rustc-encodable-stability.rs
new file mode 100644
index 00000000000..072b9387119
--- /dev/null
+++ b/src/test/ui-fulldeps/stability-attribute/rustc-encodable-stability.rs
@@ -0,0 +1,12 @@
+// edition:2018
+#![allow(deprecated)]
+#![feature(rustc_private)]
+
+extern crate rustc_serialize;
+
+#[derive(RustcDecodable, RustcEncodable)]
+struct ArbitraryTestType {
+
+}
+
+fn main() {}