We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 088216f commit b88ec73Copy full SHA for b88ec73
src/test/run-pass/overloaded-autoderef-order.rs
@@ -75,7 +75,6 @@ pub fn main() {
75
assert_eq!(Rc::new(nested).x, true);
76
77
let nested_priv = priv_test::DerefWrapperHideX::new(true, DerefWrapper {x: 0, y: 1});
78
- // FIXME(eddyb) #12808 should skip private fields.
79
- // assert_eq!(nested_priv.x, 0);
+ assert_eq!(nested_priv.x, 0);
80
assert_eq!((*nested_priv).x, 0);
81
}
0 commit comments