summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs')
-rw-r--r--src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs b/src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs
deleted file mode 100644
index cc961625f..000000000
--- a/src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs
+++ /dev/null
@@ -1,43 +0,0 @@
-pub use sub_foo::Foo;
-pub use self::Bar as Baz;
-pub use sub_foo::Boz;
-pub use sub_foo::Bort;
-
-pub trait Bar {
- fn bar() -> Self;
-}
-
-impl Bar for isize {
- fn bar() -> isize { 84 }
-}
-
-pub mod sub_foo {
- pub trait Foo {
- fn foo() -> Self;
- }
-
- impl Foo for isize {
- fn foo() -> isize { 42 }
- }
-
- pub struct Boz {
- unused_str: String
- }
-
- impl Boz {
- pub fn boz(i: isize) -> bool {
- i > 0
- }
- }
-
- pub enum Bort {
- Bort1,
- Bort2
- }
-
- impl Bort {
- pub fn bort() -> String {
- "bort()".to_string()
- }
- }
-}