File tree 2 files changed +8
-4
lines changed
src/test/run-make/incr-prev-body-beyond-eof
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ fn main() {
3
3
foo ( ) ;
4
4
}
5
5
6
+ // For this test to operate correctly, foo's body must start on exactly the same
7
+ // line and column and have the exact same length in bytes in a.rs and b.rs. In
8
+ // a.rs, the body must end on a line number which does not exist in b.rs.
9
+ // Basically, avoid modifying this file, including adding or removing whitespace!
6
10
fn foo ( ) {
7
- // foo's span in a.rs and b.rs must be identical
8
- // with respect to start line/column and length.
9
11
assert_eq ! ( 1 , 1 ) ;
10
12
11
13
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ fn main() {
3
3
foo ( ) ;
4
4
}
5
5
6
+ // For this test to operate correctly, foo's body must start on exactly the same
7
+ // line and column and have the exact same length in bytes in a.rs and b.rs. In
8
+ // a.rs, the body must end on a line number which does not exist in b.rs.
9
+ // Basically, avoid modifying this file, including adding or removing whitespace!
6
10
fn foo ( ) {
7
- // foo's span in a.rs and b.rs must be identical
8
- // with respect to start line/column and length.
9
11
assert_eq ! ( 1 , 1 ) ; ////
10
12
}
You can’t perform that action at this time.
0 commit comments