You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following seems annoying (and is especially so for writing macros/syntax extensions)
fnmain(){let x:&int = &1;
x.eq(&x);// `x == x` works fine}
auto-deref.rs:6:9: 6:11 error: mismatched types: expected `&int` but found `&&int` (expected int but found &-ptr)
auto-deref.rs:6 x.eq(&x);
^~
error: aborting due to previous error