Skip to content

Commit

Permalink
Rollup merge of rust-lang#44327 - Eh2406:FIXME#12808, r=aturon
Browse files Browse the repository at this point in the history
rust-lang#12808 is closed remove the FIXME

let's see if this can be cleaned up.

rust-lang#12808 (comment)
  • Loading branch information
Mark-Simulacrum authored Sep 7, 2017
2 parents 43d20c7 + b88ec73 commit d2c85a0
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 d2c85a0

Please sign in to comment.