mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
Fix fallout in tests
This commit is contained in:
parent
6f16c5c81f
commit
09af5036da
@ -102,6 +102,7 @@ mod foo {
|
|||||||
//~^ ERROR: method `bar` is private
|
//~^ ERROR: method `bar` is private
|
||||||
::bar::baz::A.foo2(); //~ ERROR: module `baz` is private
|
::bar::baz::A.foo2(); //~ ERROR: module `baz` is private
|
||||||
::bar::baz::A.bar2(); //~ ERROR: module `baz` is private
|
::bar::baz::A.bar2(); //~ ERROR: module `baz` is private
|
||||||
|
//~^ ERROR: method `bar2` is private
|
||||||
|
|
||||||
let _: isize =
|
let _: isize =
|
||||||
::bar::B::foo(); //~ ERROR: trait `B` is private
|
::bar::B::foo(); //~ ERROR: trait `B` is private
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
mod argparse {
|
mod argparse {
|
||||||
pub struct Flag<'a> {
|
pub struct Flag<'a> {
|
||||||
name: &'a str,
|
name: &'a str,
|
||||||
desc: &'a str,
|
pub desc: &'a str,
|
||||||
max_count: usize,
|
max_count: usize,
|
||||||
value: usize
|
value: usize
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,4 @@ mod bleh {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {}
|
||||||
bleh::S.f();
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user