]> git.proxmox.com Git - rustc.git/blobdiff - vendor/pin-project-lite/tests/ui/unsupported.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / vendor / pin-project-lite / tests / ui / unsupported.rs
diff --git a/vendor/pin-project-lite/tests/ui/unsupported.rs b/vendor/pin-project-lite/tests/ui/unsupported.rs
deleted file mode 100644 (file)
index 2f80836..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-use pin_project_lite::pin_project;
-
-pin_project! {
-    struct Struct1 {} //~ ERROR no rules expected the token `}`
-}
-
-pin_project! {
-    struct Struct2(); //~ ERROR no rules expected the token `(`
-}
-
-pin_project! {
-    struct Struct3; //~ ERROR no rules expected the token `;`
-}
-
-pin_project! {
-    enum Enum { //~ ERROR no rules expected the token `enum`
-        A(u8)
-    }
-}
-
-pin_project! {
-    union Union { //~ ERROR no rules expected the token `union`
-        x: u8,
-    }
-}
-
-fn main() {}