summaryrefslogtreecommitdiffstats
path: root/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr (renamed from src/test/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr b/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
index 26bdf460f..9d4ea0115 100644
--- a/src/test/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
+++ b/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
@@ -2,9 +2,12 @@ error[E0412]: cannot find type `T` in this scope
--> $DIR/fn-help-with-err-generic-is-not-function.rs:2:13
|
LL | impl Struct<T>
- | - ^ not found in this scope
- | |
- | help: you might be missing a type parameter: `<T>`
+ | ^ not found in this scope
+ |
+help: you might be missing a type parameter
+ |
+LL | impl<T> Struct<T>
+ | +++
error[E0412]: cannot find type `T` in this scope
--> $DIR/fn-help-with-err-generic-is-not-function.rs:7:5