Skip to content

Commit 3279d01

Browse files
committed
Move some tests out of tests/ui
1 parent 6e23095 commit 3279d01

24 files changed

+20
-20
lines changed
File renamed without changes.
File renamed without changes.

tests/ui/impl-privacy-xc-1.rs

-10
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//@ run-pass
2+
//@ aux-build:impl-privacy-cross-crate-1.rs
3+
4+
5+
extern crate impl_privacy_cross_crate_1;
6+
7+
pub fn main() {
8+
let fish = impl_privacy_cross_crate_1::Fish { x: 1 };
9+
fish.swim();
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//@ run-pass
2+
//@ aux-build:impl-privacy-cross-crate-2.rs
3+
4+
extern crate impl_privacy_cross_crate_2;
5+
6+
pub fn main() {
7+
let fish1 = impl_privacy_cross_crate_2::Fish { x: 1 };
8+
let fish2 = impl_privacy_cross_crate_2::Fish { x: 2 };
9+
if fish1.eq(&fish2) { println!("yes") } else { println!("no") };
10+
}

tests/ui/privacy/impl-privacy-xc-2.rs

-10
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)