Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate privacy into field and method selection #31938

Merged
merged 7 commits into from
Mar 31, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix fallout in tests
  • Loading branch information
jseyfried committed Mar 30, 2016
commit 09af5036da4087569a033eea91c8b9dd63a079a0
1 change: 1 addition & 0 deletions src/test/compile-fail/privacy1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/regions-glb-free-free.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 1 addition & 3 deletions src/test/parse-fail/pub-method-macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,4 @@ mod bleh {
}
}

fn main() {
bleh::S.f();
}
fn main() {}