Fix fallout in tests

This commit is contained in:
Jeffrey Seyfried 2016-03-03 02:32:55 +00:00
parent 6f16c5c81f
commit 09af5036da
3 changed files with 3 additions and 4 deletions

View File

@ -102,6 +102,7 @@ mod foo {
//~^ ERROR: method `bar` is private
::bar::baz::A.foo2(); //~ ERROR: module `baz` is private
::bar::baz::A.bar2(); //~ ERROR: module `baz` is private
//~^ ERROR: method `bar2` is private
let _: isize =
::bar::B::foo(); //~ ERROR: trait `B` is private

View File

@ -11,7 +11,7 @@
mod argparse {
pub struct Flag<'a> {
name: &'a str,
desc: &'a str,
pub desc: &'a str,
max_count: usize,
value: usize
}

View File

@ -29,6 +29,4 @@ mod bleh {
}
}
fn main() {
bleh::S.f();
}
fn main() {}