Skip to content

Commit

Permalink
fix broken test revealed by compiletest
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Apr 21, 2016
1 parent 6ce5e77 commit 7aa5947
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -15,6 +15,8 @@ mod foo {
mod bar {
use foo::Priv;
pub(super) fn f(_: Priv) {}
pub(crate) fn f(_: Priv) {} //~ ERROR private
pub(crate) fn g(_: Priv) {} //~ ERROR E0446
}
}

fn main() { }

0 comments on commit 7aa5947

Please sign in to comment.