Update #83739 with type of the item specified
This commit is contained in:
parent
9b6c7ffa06
commit
e66f241b80
2 changed files with 11 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
|
||||
error[E0121]: the type placeholder `_` is not allowed within types on item signatures for constant items
|
||||
--> $DIR/issue-75889.rs:3:24
|
||||
|
|
||||
LL | const FOO: dyn Fn() -> _ = "";
|
||||
| ^ not allowed in type signatures
|
||||
|
||||
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
|
||||
error[E0121]: the type placeholder `_` is not allowed within types on item signatures for static items
|
||||
--> $DIR/issue-75889.rs:4:25
|
||||
|
|
||||
LL | static BOO: dyn Fn() -> _ = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue