Skip to content

Commit cd24384

Browse files
committed
Move to tests/ui/fn
1 parent d212e9f commit cd24384

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

tests/ui/impl-sized.stderr renamed to tests/ui/fn/trait-fn-generic-mismatch.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0412]: cannot find type `XXX` in this scope
2-
--> $DIR/impl-sized.rs:5:11
2+
--> $DIR/trait-fn-generic-mismatch.rs:5:11
33
|
44
LL | impl Core<XXX> {
55
| ^^^ not found in this scope
@@ -10,13 +10,13 @@ LL | impl<XXX> Core<XXX> {
1010
| +++++
1111

1212
error[E0061]: this method takes 0 arguments but 1 argument was supplied
13-
--> $DIR/impl-sized.rs:11:10
13+
--> $DIR/trait-fn-generic-mismatch.rs:11:10
1414
|
1515
LL | core.spawn(retry());
1616
| ^^^^^ ------- unexpected argument of type `impl Sized`
1717
|
1818
note: method defined here
19-
--> $DIR/impl-sized.rs:6:12
19+
--> $DIR/trait-fn-generic-mismatch.rs:6:12
2020
|
2121
LL | pub fn spawn(self) {}
2222
| ^^^^^

0 commit comments

Comments
 (0)