@@ -413,7 +413,7 @@ fn targets_with_relative_path_in_workspace_members() {
413
413
. with_stderr_data ( str![ [ r#"
414
414
[COMPILING] relative-bar v0.1.0 ([ROOT]/foo/relative-bar)
415
415
[WARNING] unused variable: `a`
416
- --> relative-bar/./ build.rs:1:17
416
+ --> relative-bar/build.rs:1:17
417
417
|
418
418
1 | fn main() { let a = 1; }
419
419
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -422,7 +422,7 @@ fn targets_with_relative_path_in_workspace_members() {
422
422
423
423
[WARNING] `relative-bar` (build script) generated 1 warning
424
424
[WARNING] function `a` is never used
425
- --> relative-bar/./ src/lib.rs:1:4
425
+ --> relative-bar/src/lib.rs:1:4
426
426
|
427
427
1 | fn a() {}
428
428
| ^
@@ -431,7 +431,7 @@ fn targets_with_relative_path_in_workspace_members() {
431
431
432
432
[WARNING] `relative-bar` (lib) generated 1 warning
433
433
[WARNING] unused variable: `a`
434
- --> relative-bar/./ src/main.rs:1:17
434
+ --> relative-bar/src/main.rs:1:17
435
435
|
436
436
1 | fn main() { let a = 1; }
437
437
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -447,7 +447,7 @@ fn targets_with_relative_path_in_workspace_members() {
447
447
p. cargo ( "check --example example" )
448
448
. with_stderr_data ( str![ [ r#"
449
449
[WARNING] unused variable: `a`
450
- --> relative-bar/./ build.rs:1:17
450
+ --> relative-bar/build.rs:1:17
451
451
|
452
452
1 | fn main() { let a = 1; }
453
453
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -456,7 +456,7 @@ fn targets_with_relative_path_in_workspace_members() {
456
456
457
457
[WARNING] `relative-bar` (build script) generated 1 warning
458
458
[WARNING] function `a` is never used
459
- --> relative-bar/./ src/lib.rs:1:4
459
+ --> relative-bar/src/lib.rs:1:4
460
460
|
461
461
1 | fn a() {}
462
462
| ^
@@ -466,7 +466,7 @@ fn targets_with_relative_path_in_workspace_members() {
466
466
[WARNING] `relative-bar` (lib) generated 1 warning
467
467
[CHECKING] relative-bar v0.1.0 ([ROOT]/foo/relative-bar)
468
468
[WARNING] unused variable: `a`
469
- --> relative-bar/./ example.rs:1:17
469
+ --> relative-bar/example.rs:1:17
470
470
|
471
471
1 | fn main() { let a = 1; }
472
472
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -481,7 +481,7 @@ fn targets_with_relative_path_in_workspace_members() {
481
481
482
482
p. cargo ( "check --test test" ) . with_stderr_data ( str![ [ r#"
483
483
[WARNING] unused variable: `a`
484
- --> relative-bar/./ build.rs:1:17
484
+ --> relative-bar/build.rs:1:17
485
485
|
486
486
1 | fn main() { let a = 1; }
487
487
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -490,7 +490,7 @@ fn targets_with_relative_path_in_workspace_members() {
490
490
491
491
[WARNING] `relative-bar` (build script) generated 1 warning
492
492
[WARNING] function `a` is never used
493
- --> relative-bar/./ src/lib.rs:1:4
493
+ --> relative-bar/src/lib.rs:1:4
494
494
|
495
495
1 | fn a() {}
496
496
| ^
@@ -500,7 +500,7 @@ fn targets_with_relative_path_in_workspace_members() {
500
500
[WARNING] `relative-bar` (lib) generated 1 warning
501
501
[CHECKING] relative-bar v0.1.0 ([ROOT]/foo/relative-bar)
502
502
[WARNING] unused variable: `a`
503
- --> relative-bar/./ test.rs:5:35
503
+ --> relative-bar/test.rs:5:35
504
504
|
505
505
5 | fn test_a() { let a = 1; }
506
506
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -514,7 +514,7 @@ fn targets_with_relative_path_in_workspace_members() {
514
514
515
515
p. cargo ( "check --bench bench" ) . with_stderr_data ( str![ [ r#"
516
516
[WARNING] unused variable: `a`
517
- --> relative-bar/./ build.rs:1:17
517
+ --> relative-bar/build.rs:1:17
518
518
|
519
519
1 | fn main() { let a = 1; }
520
520
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
@@ -523,7 +523,7 @@ fn targets_with_relative_path_in_workspace_members() {
523
523
524
524
[WARNING] `relative-bar` (build script) generated 1 warning
525
525
[WARNING] function `a` is never used
526
- --> relative-bar/./ src/lib.rs:1:4
526
+ --> relative-bar/src/lib.rs:1:4
527
527
|
528
528
1 | fn a() {}
529
529
| ^
@@ -533,7 +533,7 @@ fn targets_with_relative_path_in_workspace_members() {
533
533
[WARNING] `relative-bar` (lib) generated 1 warning
534
534
[CHECKING] relative-bar v0.1.0 ([ROOT]/foo/relative-bar)
535
535
[WARNING] unused variable: `a`
536
- --> relative-bar/./ bench.rs:7:58
536
+ --> relative-bar/bench.rs:7:58
537
537
|
538
538
7 | fn bench_a(_b: &mut test::Bencher) { let a = 1; }
539
539
| ^ [HELP] if this is intentional, prefix it with an underscore: `_a`
0 commit comments