Skip to content

Commit

Permalink
rust-lang#12808 is closed remove the FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Sep 5, 2017
1 parent 088216f commit b88ec73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/run-pass/overloaded-autoderef-order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit b88ec73

Please sign in to comment.