mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
#12808 is closed remove the FIXME
This commit is contained in:
parent
088216fb99
commit
b88ec735aa
@ -75,7 +75,6 @@ pub fn main() {
|
||||
assert_eq!(Rc::new(nested).x, true);
|
||||
|
||||
let nested_priv = priv_test::DerefWrapperHideX::new(true, DerefWrapper {x: 0, y: 1});
|
||||
// FIXME(eddyb) #12808 should skip private fields.
|
||||
// assert_eq!(nested_priv.x, 0);
|
||||
assert_eq!(nested_priv.x, 0);
|
||||
assert_eq!((*nested_priv).x, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user