File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -950,12 +950,6 @@ mod test {
950950 /// *y = 2;
951951 /// ```
952952 ///
953- /// Note that this code is accepted by rustc, but we'd like to reject it because some of the
954- /// transformations we plan to do will convert it to a form that rustc will reject.
955- /// Specifically, if `p` were a function argument and we changed it from `&mut [_]` to
956- /// something like `&mut Vec<_>` or a custom smart pointer type, rustc would reject the
957- /// modified code.
958- ///
959953 /// ```text
960954 /// A
961955 /// +------.
@@ -968,6 +962,13 @@ mod test {
968962 /// X4 |
969963 /// Y4
970964 /// ```
965+ ///
966+ /// Note that this code is accepted by `rustc`,
967+ /// but we'd like to reject it because some of the transformations we plan to do
968+ /// will convert it to a form that `rustc` will reject.
969+ /// Specifically, if `p` were a function argument and we changed it
970+ /// from `&mut [_]` to something like `&mut Vec<_>` or a custom smart pointer type,
971+ /// `rustc` would reject the modified code.
971972 #[ test]
972973 fn offset_field_conflict ( ) {
973974 let mut g = Graph :: default ( ) ;
You can’t perform that action at this time.
0 commit comments