mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +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
|
||||
::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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -29,6 +29,4 @@ mod bleh {
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
bleh::S.f();
|
||||
}
|
||||
fn main() {}
|
||||
|
Loading…
Reference in New Issue
Block a user