]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
[rust.git] / tests / ui / functions-closures / fn-help-with-err-generic-is-not-function.stderr
index 26bdf460f5e4d5c4c3671585607cc821b1ad586b..9d4ea01152cc9d0374ede99fba3fb24d377a4548 100644 (file)
@@ -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