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