@@ -105,7 +105,7 @@ fn foo() {
105
105
106
106
println ! ( "text=\n {}" , text) ;
107
107
assert_eq ! ( & text[ ..] , & r#"
108
- >>>> foo.rs
108
+ ::: foo.rs
109
109
3 |> vec.push(vec.pop().unwrap());
110
110
|> --- --- - previous borrow ends here
111
111
|> | |
@@ -180,7 +180,7 @@ fn bar() {
180
180
|> | |
181
181
|> | b
182
182
|> a
183
- >>>>>> bar.rs
183
+ ::: bar.rs
184
184
17 |> vec.push();
185
185
|> --- - f
186
186
|> |
@@ -224,7 +224,7 @@ fn foo() {
224
224
225
225
println ! ( "text=\n {}" , text) ;
226
226
assert_eq ! ( & text[ ..] , & r#"
227
- >>>>>> foo.rs
227
+ ::: foo.rs
228
228
3 |> let name = find_id(&data, 22).unwrap();
229
229
|> ---- immutable borrow begins here
230
230
...
@@ -263,7 +263,7 @@ fn foo() {
263
263
264
264
println ! ( "text=r#\" \n {}\" .trim_left()" , text) ;
265
265
assert_eq ! ( & text[ ..] , & r#"
266
- >>>> foo.rs
266
+ ::: foo.rs
267
267
3 |> vec.push(vec.pop().unwrap());
268
268
|> -------- ------ D
269
269
|> ||
@@ -299,7 +299,7 @@ fn foo() {
299
299
300
300
println ! ( "text=r#\" \n {}\" .trim_left()" , text) ;
301
301
assert_eq ! ( & text[ ..] , & r#"
302
- >>>> foo.rs
302
+ ::: foo.rs
303
303
3 |> vec.push(vec.pop().unwrap());
304
304
|> --- --- - previous borrow ends here
305
305
|> | |
@@ -337,7 +337,7 @@ fn foo() {
337
337
let text: String = make_string ( & lines) ;
338
338
println ! ( "text=r#\" \n {}\" .trim_left()" , text) ;
339
339
assert_eq ! ( & text[ ..] , & r#"
340
- >>>>>> foo.rs
340
+ ::: foo.rs
341
341
4 |> let mut vec2 = vec;
342
342
|> --- `vec` moved here because it has type `collections::vec::Vec<i32>`
343
343
...
@@ -373,7 +373,7 @@ fn foo() {
373
373
let text: String = make_string ( & lines) ;
374
374
println ! ( "text=&r#\" \n {}\n \" #[1..]" , text) ;
375
375
assert_eq ! ( text, & r#"
376
- >>>> foo.rs
376
+ ::: foo.rs
377
377
3 |> let mut vec = vec![0, 1, 2];
378
378
|> --- ---
379
379
4 |> let mut vec2 = vec;
@@ -404,7 +404,7 @@ impl SomeTrait for () {
404
404
let text: String = make_string ( & lines) ;
405
405
println ! ( "r#\" \n {}\" " , text) ;
406
406
assert_eq ! ( text, & r#"
407
- >>>> foo.rs
407
+ ::: foo.rs
408
408
3 |> fn foo(x: u32) {
409
409
|> -
410
410
"# [ 1 ..] ) ;
@@ -433,7 +433,7 @@ fn span_overlap_label() {
433
433
let text: String = make_string ( & lines) ;
434
434
println ! ( "r#\" \n {}\" " , text) ;
435
435
assert_eq ! ( text, & r#"
436
- >>>> foo.rs
436
+ ::: foo.rs
437
437
2 |> fn foo(x: u32) {
438
438
|> --------------
439
439
|> | |
@@ -467,7 +467,7 @@ fn span_overlap_label2() {
467
467
let text: String = make_string ( & lines) ;
468
468
println ! ( "r#\" \n {}\" " , text) ;
469
469
assert_eq ! ( text, & r#"
470
- >>>> foo.rs
470
+ ::: foo.rs
471
471
2 |> fn foo(x: u32) {
472
472
|> --------------
473
473
|> | |
@@ -512,7 +512,7 @@ fn span_overlap_label3() {
512
512
let text: String = make_string ( & lines) ;
513
513
println ! ( "r#\" \n {}\" " , text) ;
514
514
assert_eq ! ( text, & r#"
515
- >>>> foo.rs
515
+ ::: foo.rs
516
516
3 |> let closure = || {
517
517
|> - foo
518
518
4 |> inner
0 commit comments