Skip to content

Commit 0627089

Browse files
committed
Fix fallout
1 parent fb1575b commit 0627089

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/test/auxiliary/cci_class_5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub mod kitties {
1717
}
1818

1919
impl cat {
20-
priv fn nap(&self) {}
20+
fn nap(&self) {}
2121
}
2222

2323
pub fn cat(in_x : uint, in_y : int) -> cat {

src/test/compile-fail/issue-3763.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mod my_mod {
1616
MyStruct {priv_field: 4}
1717
}
1818
impl MyStruct {
19-
priv fn happyfun(&self) {}
19+
fn happyfun(&self) {}
2020
}
2121
}
2222

src/test/compile-fail/issue-3993-3.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use zoo::fly; //~ ERROR failed to resolve import
1212
//~^ ERROR unresolved import: found `fly` in `zoo` but it is private
1313

1414
mod zoo {
15-
priv type fly = ();
16-
priv fn fly() {}
15+
type fly = ();
16+
fn fly() {}
1717
}
1818

1919

src/test/compile-fail/issue-3993.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use zoo::fly; //~ ERROR failed to resolve import
1212
//~^ ERROR unresolved import: found `fly` in `zoo` but it is private
1313

1414
mod zoo {
15-
priv fn fly() {}
15+
fn fly() {}
1616
}
1717

1818

src/test/compile-fail/private-impl-method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mod a {
1414
}
1515

1616
impl Foo {
17-
priv fn foo(&self) {}
17+
fn foo(&self) {}
1818
}
1919
}
2020

src/test/compile-fail/private-item-simple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
mod a {
12-
priv fn f() {}
12+
fn f() {}
1313
}
1414

1515
fn main() {

src/test/compile-fail/private-method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mod kitties {
1818
}
1919

2020
impl cat {
21-
priv fn nap(&self) {}
21+
fn nap(&self) {}
2222
}
2323

2424
pub fn cat(in_x : uint, in_y : int) -> cat {

0 commit comments

Comments
 (0)