]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13346 : ben0x539/rust/priv-field-in, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 6 Apr 2014 17:36:33 +0000 (10:36 -0700)
committerbors <bors@rust-lang.org>
Sun, 6 Apr 2014 17:36:33 +0000 (10:36 -0700)
In the error message for when a private field is used, include the name of the struct, or if it's a struct-like enum variant, the names of the variant and the enum.

This fixes #13341.


Trivial merge