Update E0446 label with improved wording

This commit is contained in:
Jonathan Turner 2016-09-26 17:05:43 -07:00
parent 2fa91b23c5
commit c0f29fdd58
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ mod Foo {
struct Bar(u32);
pub fn bar() -> Bar { //~ ERROR E0446
//~| NOTE private type can't be public
//~| NOTE can't leak private type
Bar(0)
}
}