Skip to content

Commit 50c6679

Browse files
committed
fix unit test naming style
1 parent 95d5ecf commit 50c6679

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/ui/trait-bounds/deep-level-Send-bound-check-issue-40827.rs renamed to tests/ui/trait-bounds/deep-level-send-bound-check-issue-40827.rs

File renamed without changes.

tests/ui/trait-bounds/deep-level-Send-bound-check-issue-40827.stderr renamed to tests/ui/trait-bounds/deep-level-send-bound-check-issue-40827.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `Rc<Foo>` cannot be shared between threads safely
2-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:14:7
2+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:14:7
33
|
44
LL | f(Foo(Arc::new(Bar::B(None))));
55
| - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<Foo>` cannot be shared between threads safely
@@ -8,24 +8,24 @@ LL | f(Foo(Arc::new(Bar::B(None))));
88
|
99
= help: within `Bar`, the trait `Sync` is not implemented for `Rc<Foo>`
1010
note: required because it appears within the type `Bar`
11-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:6:6
11+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:6:6
1212
|
1313
LL | enum Bar {
1414
| ^^^
1515
= note: required for `Arc<Bar>` to implement `Send`
1616
note: required because it appears within the type `Foo`
17-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:4:8
17+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:4:8
1818
|
1919
LL | struct Foo(Arc<Bar>);
2020
| ^^^
2121
note: required by a bound in `f`
22-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:11:9
22+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:11:9
2323
|
2424
LL | fn f<T: Send>(_: T) {}
2525
| ^^^^ required by this bound in `f`
2626

2727
error[E0277]: `Rc<Foo>` cannot be sent between threads safely
28-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:14:7
28+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:14:7
2929
|
3030
LL | f(Foo(Arc::new(Bar::B(None))));
3131
| - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<Foo>` cannot be sent between threads safely
@@ -34,18 +34,18 @@ LL | f(Foo(Arc::new(Bar::B(None))));
3434
|
3535
= help: within `Bar`, the trait `Send` is not implemented for `Rc<Foo>`
3636
note: required because it appears within the type `Bar`
37-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:6:6
37+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:6:6
3838
|
3939
LL | enum Bar {
4040
| ^^^
4141
= note: required for `Arc<Bar>` to implement `Send`
4242
note: required because it appears within the type `Foo`
43-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:4:8
43+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:4:8
4444
|
4545
LL | struct Foo(Arc<Bar>);
4646
| ^^^
4747
note: required by a bound in `f`
48-
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:11:9
48+
--> $DIR/deep-level-send-bound-check-issue-40827.rs:11:9
4949
|
5050
LL | fn f<T: Send>(_: T) {}
5151
| ^^^^ required by this bound in `f`

0 commit comments

Comments
 (0)