about summary refs log tree commit diff
path: root/tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr')
-rw-r--r--tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr b/tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr
index ba44beb76db..b8a8f927542 100644
--- a/tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr
+++ b/tests/ui/repeat-expr/copy-inference-side-effects-are-lazy.stderr
@@ -5,9 +5,9 @@ LL |     let x = [Foo(PhantomData); 2];
    |         ^
 LL |
 LL |     extract(x).max(2);
-   |     ---------- type must be known at this point
+   |                --- type must be known at this point
    |
-help: consider giving `x` an explicit type, where the type for type parameter `T` is specified
+help: consider giving `x` an explicit type, where the placeholders `_` are specified
    |
 LL |     let x: [Foo<T>; 2] = [Foo(PhantomData); 2];
    |          +++++++++++++