Skip to content

Commit

Permalink
Fix fallout in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jseyfried committed Mar 16, 2016
1 parent 5361472 commit a803f5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
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() {}

0 comments on commit a803f5b

Please sign in to comment.