We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2988d3f commit ce16644Copy full SHA for ce16644
src/libstd/repr.rs
@@ -621,9 +621,9 @@ fn test_repr() {
621
exact_test(&(@"hello"), "@\"hello\"");
622
exact_test(&(~"he\u10f3llo"), "~\"he\\u10f3llo\"");
623
624
- // FIXME #4210: the mut fields are a bit off here.
625
exact_test(&(@10), "@10");
626
- exact_test(&(@mut 10), "@10");
+ exact_test(&(@mut 10), "@10"); // FIXME: #4210: incorrect
+ exact_test(&((@mut 10, 2)), "(@mut 10, 2)");
627
exact_test(&(~10), "~10");
628
exact_test(&(&10), "&10");
629
let mut x = 10;
0 commit comments