]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/typeck/typeck_type_placeholder_item_help.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / typeck / typeck_type_placeholder_item_help.stderr
index 0121e18631676c7d3a791d7aa21cd79d5542cec7..f868c8d483486f30f267bf540fbeda84688e8f5a 100644 (file)
@@ -29,10 +29,7 @@ error[E0121]: the type placeholder `_` is not allowed within types on item signa
   --> $DIR/typeck_type_placeholder_item_help.rs:13:22
    |
 LL | const TEST4: fn() -> _ = 42;
-   |                      ^
-   |                      |
-   |                      not allowed in type signatures
-   |                      help: use type parameters instead: `T`
+   |                      ^ not allowed in type signatures
 
 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
   --> $DIR/typeck_type_placeholder_item_help.rs:17:18