rustdoc: remove other redundant item

This commit is contained in:
Patrik Kårlin 2023-03-01 10:45:08 +01:00
parent d1b6aa6834
commit 4d571a9ccf
No known key found for this signature in database
2 changed files with 0 additions and 11 deletions

View file

@ -1,2 +0,0 @@
static CONST: Option<dyn Fn(& _)> = None;
//~^ ERROR: the placeholder `_` is not allowed within types on item signatures for static items [E0121]

View file

@ -1,9 +0,0 @@
error[E0121]: the placeholder `_` is not allowed within types on item signatures for static items
--> $DIR/invalid-toplevel-const.rs:1:31
|
LL | static CONST: Option<dyn Fn(& _)> = None;
| ^ not allowed in type signatures
error: aborting due to previous error
For more information about this error, try `rustc --explain E0121`.