We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/fn
1 parent d212e9f commit cd24384Copy full SHA for cd24384
tests/ui/impl-sized.rs renamed to tests/ui/fn/trait-fn-generic-mismatch.rs
tests/ui/impl-sized.stderr renamed to tests/ui/fn/trait-fn-generic-mismatch.stderr
@@ -1,5 +1,5 @@
1
error[E0412]: cannot find type `XXX` in this scope
2
- --> $DIR/impl-sized.rs:5:11
+ --> $DIR/trait-fn-generic-mismatch.rs:5:11
3
|
4
LL | impl Core<XXX> {
5
| ^^^ not found in this scope
@@ -10,13 +10,13 @@ LL | impl<XXX> Core<XXX> {
10
| +++++
11
12
error[E0061]: this method takes 0 arguments but 1 argument was supplied
13
- --> $DIR/impl-sized.rs:11:10
+ --> $DIR/trait-fn-generic-mismatch.rs:11:10
14
15
LL | core.spawn(retry());
16
| ^^^^^ ------- unexpected argument of type `impl Sized`
17
18
note: method defined here
19
- --> $DIR/impl-sized.rs:6:12
+ --> $DIR/trait-fn-generic-mismatch.rs:6:12
20
21
LL | pub fn spawn(self) {}
22
| ^^^^^
0 commit comments