rustdoc: remove other redundant item
This commit is contained in:
parent
d1b6aa6834
commit
4d571a9ccf
2 changed files with 0 additions and 11 deletions
|
@ -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]
|
|
|
@ -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`.
|
|
Loading…
Add table
Reference in a new issue