about summary refs log tree commit diff
path: root/tests/ui/auxiliary
diff options
context:
space:
mode:
authorjyn <jyn.nelson@redjack.com>2023-04-02 19:30:32 -0400
committerjyn <jyn.nelson@redjack.com>2023-04-02 19:42:30 -0400
commit01b75e20f2f92e3086bc004cd2f4430bf41ccdc0 (patch)
tree757e8c283825445ecae6a3ccc0c32500bb7aca14 /tests/ui/auxiliary
parenteb3e9c1f45981b47160543cfd882ca00e69bbfab (diff)
downloadrust-01b75e20f2f92e3086bc004cd2f4430bf41ccdc0.tar.gz
rust-01b75e20f2f92e3086bc004cd2f4430bf41ccdc0.zip
Move some UI tests into subdirectories
to avoid going over the existing limit now that the ui-fulldeps tests have
been moved to ui.
Diffstat (limited to 'tests/ui/auxiliary')
-rw-r--r--tests/ui/auxiliary/xc-private-method-lib.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/ui/auxiliary/xc-private-method-lib.rs b/tests/ui/auxiliary/xc-private-method-lib.rs
deleted file mode 100644
index 4d5ec6de392..00000000000
--- a/tests/ui/auxiliary/xc-private-method-lib.rs
+++ /dev/null
@@ -1,33 +0,0 @@
-#![crate_type="lib"]
-
-pub struct Struct {
-    pub x: isize
-}
-
-impl Struct {
-    fn static_meth_struct() -> Struct {
-        Struct { x: 1 }
-    }
-
-    fn meth_struct(&self) -> isize {
-        self.x
-    }
-}
-
-pub enum Enum {
-    Variant1(isize),
-    Variant2(isize)
-}
-
-impl Enum {
-    fn static_meth_enum() -> Enum {
-        Enum::Variant2(10)
-    }
-
-    fn meth_enum(&self) -> isize {
-        match *self {
-            Enum::Variant1(x) |
-            Enum::Variant2(x) => x
-        }
-    }
-}