Skip to content

Commit c4752e7

Browse files
CoAlloc: tests: FIXME: Extra indentation.
1 parent 647b722 commit c4752e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/ui/suggestions/derive-trait-for-method-call.stderr

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,16 @@ LL | #[derive(Clone, Default)]
7777
error[E0599]: the method `test` exists for struct `Foo<Vec<Enum>, Instant>`, but its trait bounds were not satisfied
7878
--> $DIR/derive-trait-for-method-call.rs:40:15
7979
|
80-
LL | struct Foo<X, Y> (X, Y);
81-
| ---------------- method `test` not found for this struct
80+
LL | struct Foo<X, Y> (X, Y);
81+
| ---------------- method `test` not found for this struct
8282
...
83-
LL | let y = x.test();
84-
| ^^^^ method cannot be called on `Foo<Vec<Enum>, Instant>` due to unsatisfied trait bounds
83+
LL | let y = x.test();
84+
| ^^^^ method cannot be called on `Foo<Vec<Enum>, Instant>` due to unsatisfied trait bounds
8585
--> $SRC_DIR/std/src/time.rs:LL:COL
8686
|
8787
= note: doesn't satisfy `Instant: Default`
8888
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
89+
::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
8990
|
9091
= note: doesn't satisfy `Vec<Enum>: Clone`
9192
|

0 commit comments

Comments
 (0)